You can use Flutter Shape Maker online tool. With the help of this you can create your custom shape and it will give you a code for that shape.
You can have it on the bottomNavitationBar
property of the Scaffold
and use the BottomAppBar
widget with a notchMargin
and a shape
to put your CircularNotchedRectangle
:
Scaffold(
...
bottomNavigationBar: BottomAppBar(
notchMargin: 6.0,
shape: CircularNotchedRectangle(),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
...
],
),
),
);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.