🐦 Material App & Scaffold

High-level UI widgets

Example Code

file_type_dartlang main.dart
class MyApp extends StatelessWidget {
 @override
 Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       appBar: AppBar(title: Text('My Cool App'),),
       body: Center(child: Icon(Icons.cake),),
       floatingActionButton: FloatingActionButton(onPressed: () {}),
       drawer: Drawer(),
       bottomNavigationBar: BottomNavigationBar(items: [
          BottomNavigationBarItem(label: 'foo', icon: Icon(Icons.call)),
          BottomNavigationBarItem(label: 'bar', icon: Icon(Icons.cached))
       ]),
     ),
   );
 }
}

Questions? Let's chat

Open Discord