//membuat button
floatingActionButton: [Link](
backgroundColor: [Link],
foregroundColor: [Link],
onPressed: () {},
icon: Icon([Link]),
label: Text('Press This Button'),
),
//button location
floatingActionButtonLocation: [Link],
);
body: Column(
children: [
Center(
child: Text('INI BAGIAN BODY'),
),
Center(
child: Text('DIDALAM COLUMN'),
),
Row(
mainAxisAlignment: [Link],
children: [Text('TULISAN KIRI'), Text('TULISAN KANAN')],
)
],
),
drawer: Drawer(
child: ListView(
children: <Widget>[
DrawerHeader(
child: Text('Header Drawer'),
decoration: BoxDecoration(color: [Link]),
),
ListTile(
title: Text('Item 1'),
onTap: () {
[Link](context);
},
),
ListTile(
title: Text('item 2'),
onTap: () {
[Link](context);
},
)
],
),
),
bottomNavigationBar: BottomNavigationBar(items: const [
BottomNavigationBarItem(
icon: Icon([Link]),
label: 'Home',
),
BottomNavigationBarItem(icon: Icon([Link]), label: 'Search'),
BottomNavigationBarItem(icon: Icon([Link]), label: 'Setting')
]),