UiTab constructor
const
UiTab({
- required String path,
- Color tabColor = Colors.white,
- Color tabColorOnSelected = Colors.blue,
- required Widget tabIcon,
- Widget? tabIconOnSelected,
- required String tabLabel,
- required Widget build(),
- Color tabLabelColor = Colors.grey,
- Color tabLabelColorOnSelected = Colors.white,
- 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,
});