SwitchItem constructor
const
SwitchItem({
- required String label,
- IconData? icon,
- String? assetIcon,
- double? iconSize,
- double? selectedIconSize,
- double? assetIconSize,
- int? badge,
- double? badgeSize,
- Color? badgeColor,
- Widget page = const SizedBox(),
- double? badgePositionRight,
- Color? badgeCountsColor,
- double? badgeCountsSize,
- 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,
});