You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansu_ui/lib/bar/as_navigation_item.dart

19 lines
337 B

part of ansu_ui;
BottomNavigationBarItem asNavigationItem(
String path1, String path2, String title) {
return BottomNavigationBarItem(
icon: Image.asset(
path1,
height: 24.w,
width: 24.w,
),
activeIcon: Image.asset(
path2,
height: 24.w,
width: 24.w,
),
label: title,
);
}