FieldSwitch class
Switch is a two state button that can be either on or off.
Constructors
-
FieldSwitch({String? label, String? hint, bool? enabled, Map<
String, dynamic> ? inputDecoration, String? type, dynamic initialValue, double? sequence, String? icon, int? iconSize, String? iconTooltip, String? iconTooltipPosition, String? iconColor, String? colorActive, String? colorHover, String? colorDisabled, String? colorFocus, String? colorError}) -
const
Properties
- colorActive → String?
-
final
- colorDisabled → String?
-
final
- colorError → String?
-
final
- colorFocus → String?
-
final
- colorHover → String?
-
final
- enabled → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
final
- icon → String?
-
final
- iconColor → String?
-
final
- iconSize → int?
-
final
- iconTooltip → String?
-
final
- iconTooltipPosition → String?
-
final
- initialValue → dynamic
-
final
-
inputDecoration
→ Map<
String, dynamic> ? -
final
- label → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence → double?
-
final
- type → String?
-
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