SwitchItem class

πŸ”Ή Switch Item

Constructors

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})
const

Properties

assetIcon β†’ String?
final
assetIconSize β†’ double?
final
badge β†’ int?
final
badgeColor β†’ Color?
final
badgeCountsColor β†’ Color?
final
badgeCountsSize β†’ double?
final
badgePositionRight β†’ double?
final
badgePositionTop β†’ double?
final
badgeSize β†’ double?
final
hashCode β†’ int
The hash code for this object.
no setterinherited
icon β†’ IconData?
final
iconSize β†’ double?
final
label β†’ String
final
page β†’ Widget
final
runtimeType β†’ Type
A representation of the runtime type of the object.
no setterinherited
selectedIconSize β†’ double?
final

Methods

noSuchMethod(Invocation invocation) β†’ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() β†’ String
A string representation of this object.
inherited

Operators

operator ==(Object other) β†’ bool
The equality operator.
inherited