VentBottomBarItem<T>.fab constructor
VentBottomBarItem<T>.fab ({
- required T id,
- required dynamic icon,
- required String label,
- int badge = 0,
- double fabStrokeWidth = 5,
- double fabRadius = 54,
- double fabHeight = 66 / 2,
- double fabBorderRadius = 999,
- Color shadowColor = const Color(0x30686868),
- Color fabStrokeColor = Colors.white,
- Color fabBackgroundColor = VentColorSwatch.Primary,
- Color fabForegroundColor = Colors.white,
Implementation
VentBottomBarItem.fab({
required this.id,
required this.icon,
required this.label,
this.badge = 0,
this.fabStrokeWidth = 5,
this.fabRadius = 54,
this.fabHeight = 66 / 2,
this.fabBorderRadius = 999,
this.shadowColor = const Color(0x30686868),
this.fabStrokeColor = Colors.white,
this.fabBackgroundColor = VentColorSwatch.Primary,
this.fabForegroundColor = Colors.white,
}) : isFab = true;