页面布局
Row、Column、
Row(
children: <Widget>[
const FlutterLogo(),
const Expanded(
child: Text('Flutter\'s hot reload helps you quickly and easily experiment, build UIs, add features, and fix bug faster. Experience sub-second reload times, without losing state, on emulators, simulators, and hardware for iOS and Android.'),
),
const Icon(Icons.sentiment_very_satisfied),
],
)
stack
Stack(
fit: StackFit.loose,
alignment: Alignment.center,
children: <Widget>[
Text('hello'),
Positioned(
bottom: 10,
child: Text('world'),
)
],
),
Expanded Flexible
List
Grid
NestedScrollView
SingleChildSriollView
最后更新于