Skip to content

Instantly share code, notes, and snippets.

@mukireus
Created March 18, 2020 12:08
Show Gist options
  • Save mukireus/aa8a385350f85c358bb3b99d405f5c31 to your computer and use it in GitHub Desktop.
Save mukireus/aa8a385350f85c358bb3b99d405f5c31 to your computer and use it in GitHub Desktop.
Widget get _bottomNavigationBar => BottomAppBar(
notchMargin: 0,
shape: CircularNotchedRectangle(),
child: Container(
height: 56,
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 50),
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
IconButton(
icon: Icon(
Icons.history,
color: AppConstant.colorParagraph2,
),
onPressed: () {
print("test history");
}),
Container(
width: 56.0,
height: 56.0,
child: new RawMaterialButton(
fillColor: AppConstant.colorPrimary,
shape: new CircleBorder(),
elevation: 0.0,
child: Icon(Icons.search, size: 30, color: Colors.white),
onPressed: () {},
),
),
IconButton(
icon: Icon(
Icons.bookmark_border,
color: AppConstant.colorParagraph2,
),
onPressed: () {
print("test bookmarkk");
}),
],
),
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment