UiTab constructor

const UiTab({
  1. required String path,
  2. Color tabColor = Colors.white,
  3. Color tabColorOnSelected = Colors.blue,
  4. required Widget tabIcon,
  5. Widget? tabIconOnSelected,
  6. required String tabLabel,
  7. required Widget build(),
  8. Color tabLabelColor = Colors.grey,
  9. Color tabLabelColorOnSelected = Colors.white,
  10. double tabLabelSize = 12,
})

Implementation

const UiTab({
  required this.path,
  this.tabColor = Colors.white,
  this.tabColorOnSelected = Colors.blue,
  required this.tabIcon,
  this.tabIconOnSelected,
  required this.tabLabel,
  required this.build,
  this.tabLabelColor = Colors.grey,
  this.tabLabelColorOnSelected = Colors.white,
  this.tabLabelSize = 12,
});