LabeledSwitch class
Constructors
- LabeledSwitch({required String name, required Switch lazySwitch, required void onToggle(bool), required SwitchType type, required bool value, IconData? activeIcon, String? activeText, bool disabled = false, IconData? inactiveIcon, String? inactiveText, double padding = lazy.defaultPadding, bool showOnOff = false})
Properties
- activeIcon ↔ IconData?
-
getter/setter pair
- activeText ↔ String?
-
getter/setter pair
-
no setter
- disabled ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveIcon ↔ IconData?
-
getter/setter pair
- inactiveText ↔ String?
-
getter/setter pair
- label → Widget
-
no setter
- lazySwitch ↔ Switch
-
getter/setter pair
- name ↔ String
-
getter/setter pair
- onToggle ↔ void Function(bool)
-
getter/setter pair
- padding ↔ double
-
getter/setter pair
- row → Row
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showOnOff ↔ bool
-
getter/setter pair
- tableRow → TableRow
-
no setter
- type ↔ SwitchType
-
getter/setter pair
- value ↔ bool
-
getter/setter pair
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
Static Methods
-
table(
{List< LabeledSwitch> switches = const []}) → Widget