Switch class
Constructors
Properties
- borderRadius ↔ double
-
getter/setter pair
- context ↔ BuildContext
-
getter/setter pair
- disabled ↔ bool
-
getter/setter pair
- durationMilliseconds ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double
-
getter/setter pair
- margin ↔ double
-
getter/setter pair
- padding ↔ double
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toggleSize ↔ double
-
getter/setter pair
- width ↔ double
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onOff(
{String activeText = 'On', String inactiveText = 'Off', bool disabled = false, bool showOnOff = true, required bool value, required void onToggle(bool)}) → Widget -
toggle(
{IconData? activeIcon, IconData? inactiveIcon, String? activeText, String? inactiveText, bool disabled = false, bool showOnOff = false, required bool value, required void onToggle(bool)}) → Widget -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited