FieldChoiceChip class
A Material Design choice chip. ChoiceChips represent a single choice from a set. Choice chips contain related descriptive text or categories. The selected and label arguments must not be null.
Constructors
-
FieldChoiceChip({bool? autofocus, required String? type, String? avatar, String? avatarBorder, String? backgroundColor, String? clipBehavior, String? disabledColor, double? elevation, String? focusNode, bool? isEnabled, required String label, String? labelPadding, String? labelStyle, String? materialTapTargetSize, String? onSelected, Map<
String, dynamic> ? choices, String? padding, double? pressElevation, required bool selected, String? selectedColor, String? selectedShadowColor, double? sequence, String? shadowColor, String? shape, String? side, String? tooltip, String? visulalDensity}) -
const
Properties
- autofocus → bool?
-
Optional. default is 'false'
final
- avatar → String?
-
widget for avatar within quotes
final
- avatarBorder → String?
-
Border around avatar
ShapeBorder, within quotes
final
- backgroundColor → String?
-
final
-
choices
→ Map<
String, dynamic> ? -
final
- clipBehavior → String?
-
final
- disabledColor → String?
-
final
- elevation → double?
-
final
- focusNode → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEnabled → bool?
-
final
- label → String
-
final
- labelPadding → String?
-
final
- labelStyle → String?
-
final
- materialTapTargetSize → String?
-
final
- onSelected → String?
-
final
- padding → String?
-
final
- pressElevation → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected → bool
-
final
- selectedColor → String?
-
final
- selectedShadowColor → String?
-
final
- sequence → double?
-
final
- shadowColor → String?
-
final
- shape → String?
-
final
- side → String?
-
final
- tooltip → String?
-
final
- type → String?
-
final
- visulalDensity → 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