摘要:
代码 var stack = new Stack( alignment: const FractionalOffset(0.5, 0.8), children: <Widget>[ new CircleAvatar( backgroundImage: new NetworkImage('https: 阅读全文
摘要:
代码: new Row( children: <Widget>[ new RaisedButton( onPressed: (){}, color: Colors.red, child: new Text('红色按钮'), ), Expanded(child: new RaisedButton( o 阅读全文
摘要:
代码: import 'package:flutter/material.dart'; class Product{ final String title;//标题 final String desciption;//描述 Product(this.title,this.desciption);// 阅读全文