@override
Widget build(BuildContext context) {
SystemChrome.setSystemUIOverlayStyle(
SystemUiOverlayStyle(statusBarColor: Colors.transparent));
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(primarySwatch: Colors.blue),
home: Scaffold(
bottomNavigationBar: CurvedNavigationBar(
key: _bottomNavigationKey,
index: 2,
height: 50.0,
items: <Widget>[
Icon(Icons.folder_open, size: 23),
Icon(Icons.pie_chart_outlined, size: 23),
Icon(Icons.event, size: 23),
Icon(Icons.person_outline, size: 23),
Icon(Icons.lightbulb_outline, size: 23),
],
onTap: _onItemTapped,
color: Colors.white,
buttonBackgroundColor: Colors.white,
backgroundColor: Color(0xFFD2E0F1),
animationCurve: Curves.easeInOut,
animationDuration: Duration(milliseconds: 600),
),
)