Closed NesaByte closed 3 years ago
we have to change it in lib/main.dart
??
hi there! yes, what do you have in mind?
by changing this file's section
yes, instead of AppBar we change it to CurvedNavigationBar?
and use this
we will modify it ?
yes please, i'll assign you
we have to add background color and we have to add to this ?:
backgroundColor: Colors.blueAccent,
items: <Widget>[
Icon(Icons.add, size: 30),
Icon(Icons.list, size: 30),
Icon(Icons.compare_arrows, size: 30),
],
),
body: Container(color: Colors.blueAccent),
Dont worry about the background color, don't assign anything to it. We have a ThemeData that organizes all the colors:
how to fix this error and how to add text in CurvedNavigationBar
remove all these lines:
those are for the AppBar.
then, for Text ?
no more text
how will be print the title and all ?
is it fine ?
no need to print the title, its included in the appbar. we remove it completely.
change the Icon.* to home and calender
Done, Pls check it once
superb, looks good to me. do u have an emulator? what does it looks like now?
Thanks, but, sorry my laptop is unable to handle emulator.
oooh i see, need to check it out how it looks like. but overall good job
👍 thank you, I'll test it out soon tomorrow. It's late-night here right now.
fixed this at -> commit - ed74cb
We have a old looking app, give it a modern look by replacing the AppBar to CurvedNavigationBar.
Check this one: https://pub.dev/packages/curved_navigation_bar