VentBottomBarItem<T>.fab constructor

VentBottomBarItem<T>.fab({
  1. required T id,
  2. required dynamic icon,
  3. required String label,
  4. int badge = 0,
  5. double fabStrokeWidth = 5,
  6. double fabRadius = 54,
  7. double fabHeight = 66 / 2,
  8. double fabBorderRadius = 999,
  9. Color shadowColor = const Color(0x30686868),
  10. Color fabStrokeColor = Colors.white,
  11. Color fabBackgroundColor = VentColorSwatch.Primary,
  12. 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;