custom bottom tool bar
a bottom tool bar that can be swiped left or right to expose more tools.
usage
create your custom bottom bars with up to four custom bottom bar items.
final middlebar = custombottombar(
items: <custombottombaritem>[
custombottombaritem(
icon: icon(icons.home),
text: text('home'),
ontap: () => print('home'),
),
custombottombaritem(
icon: icon(icons.search),
text: text('search'),
ontap: () => print('search'),
),
custombottombaritem(
icon: icon(icons.people),
text: text('people'),
ontap: () => print('people'),
),
],
);
set your custom bottom bar page view in ‘bottomnavigationbar:’
bottomnavigationbar: custombottombarpageview(
leftbar: leftbar,
middlebar: middlebar,
rightbar: rightbar,
),
Comments are closed.