SwitchItem constructor

const SwitchItem({
  1. required String label,
  2. IconData? icon,
  3. String? assetIcon,
  4. double? iconSize,
  5. double? selectedIconSize,
  6. double? assetIconSize,
  7. int? badge,
  8. double? badgeSize,
  9. Color? badgeColor,
  10. Widget page = const SizedBox(),
  11. double? badgePositionRight,
  12. Color? badgeCountsColor,
  13. double? badgeCountsSize,
  14. double? badgePositionTop,
})

Implementation

const SwitchItem({
  required this.label,
  this.icon,
  this.assetIcon,
  this.iconSize,
  this.selectedIconSize,
  this.assetIconSize,
  this.badge,
  this.badgeSize,
  this.badgeColor,
  this.page = const SizedBox(),
  this.badgePositionRight,
  this.badgeCountsColor,
  this.badgeCountsSize,
  this.badgePositionTop,
});