دکمه setting یا هر دکمه ای را ببریم پایین drawer در flutter
@override
Widget build(BuildContext context) {
return Drawer(
// column holds all the widgets in the drawer
child: Column(
children: <Widget>[
Expanded(
// ListView contains a group of widgets that scroll inside the drawer
child: ListView(
children: <Widget>[
ListTile(
leading: Icon(
Icons.archive,
size: 35,
),
title: Text(
'Archive',
style: TextStyle(
fontSize: ,
fontFamily: 'NotoSansKR',
),
),
onTap: () {},
),
],
),
),
// This container holds the align
Container(
// This align moves the children to the bottom
child: Align(
alignment: FractionalOffset.bottomCenter,
// This container holds all the children that will be aligned
// on the bottom and should not scroll with the above ListView
child: Container(
child: Column(
children: <Widget>[
Divider(),
ListTile(
leading: Icon(Icons.settings), title: Text('Settings')),
ListTile(
leading: Icon(Icons.help),
title: Text('Help and Feedback'))
],
),
),
),
),
],
),
);
}
دسته بندی با بی تهایت زیردسته بندی
حذف از کالکشن با شرط در لاراول - Remove from a collection on a condition in Laravel
, , , icon , text , , listtile leading , icon icons , , , , leading icon icons , listtile leading icon , ,
درباره این سایت