create abstract method

  1. @factory
Widget create({
  1. required List<BartMenuRoute> routes,
  2. required BottonBarTapAction onTapAction,
  3. double? elevation,
  4. Color? bgColor,
  5. Color? selectedItemColor,
  6. Color? unselectedItemColor,
  7. BottomNavigationBarType? type,
  8. IconThemeData? iconThemeData,
  9. required double selectedFontSize,
  10. required double unselectedFontSize,
  11. required double iconSize,
  12. required int currentIndex,
})

Implementation

@factory
Widget create({
  required List<BartMenuRoute> routes,
  required BottonBarTapAction onTapAction,
  double? elevation,
  Color? bgColor,
  Color? selectedItemColor,
  Color? unselectedItemColor,
  BottomNavigationBarType? type,
  IconThemeData? iconThemeData,
  required double selectedFontSize,
  required double unselectedFontSize,
  required double iconSize,
  required int currentIndex,
});