BlocxCheckboxOptions class
Options bag for BlocxFormCheckbox. Put every non-function field here. The parent owns and updates isChecked.
Constructors
- BlocxCheckboxOptions({required bool isChecked, String? label, String? subtitle, EdgeInsetsGeometry? padding, VisualDensity? visualDensity, ListTileControlAffinity controlAffinity = ListTileControlAffinity.leading, EdgeInsetsGeometry? contentPadding, bool? dense, Color? activeColor, Color? checkColor, TextStyle? labelStyle, TextStyle? subtitleStyle, FocusNode? focusNode, bool autofocus = false})
-
const
Properties
- activeColor → Color?
-
Colors & typography.
final
- autofocus → bool
-
final
- checkColor → Color?
-
final
- contentPadding → EdgeInsetsGeometry?
-
final
- controlAffinity → ListTileControlAffinity
-
final
- dense → bool?
-
final
- focusNode → FocusNode?
-
Focus & behavior.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasText → bool
-
no setter
- isChecked → bool
-
Current value.
final
- label → String?
-
Optional primary/secondary text.
final
- labelStyle → TextStyle?
-
final
- padding → EdgeInsetsGeometry?
-
Layout & visuals.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle → String?
-
final
- subtitleStyle → TextStyle?
-
final
- visualDensity → VisualDensity?
-
final
Methods
-
copyWith(
{bool? isChecked, String? label, String? subtitle, EdgeInsetsGeometry? padding, VisualDensity? visualDensity, ListTileControlAffinity? controlAffinity, EdgeInsetsGeometry? contentPadding, bool? dense, Color? activeColor, Color? checkColor, TextStyle? labelStyle, TextStyle? subtitleStyle, FocusNode? focusNode, bool? autofocus}) → BlocxCheckboxOptions -
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