ChoiceChipFieldBlocBuilder<T> constructor
const
ChoiceChipFieldBlocBuilder<T> ({
- Key? key,
- required SelectFieldBloc<
T, dynamic> selectFieldBloc, - FocusNode? focusNode,
- FocusNode? nextFocusNode,
- bool autofocus = false,
- bool enableOnlyWhenFormBlocCanSubmit = false,
- bool isEnabled = true,
- bool readOnly = false,
- bool animateWhenCanShow = true,
- EdgeInsetsGeometry? padding,
- InputDecoration decoration = const InputDecoration(),
- FieldBlocErrorBuilder? errorBuilder,
- bool canDeselect = true,
- Axis direction = Axis.horizontal,
- WrapAlignment alignment = WrapAlignment.start,
- double? spacing,
- WrapAlignment runAlignment = WrapAlignment.start,
- double? runSpacing,
- WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start,
- TextDirection? textDirection,
- VerticalDirection verticalDirection = VerticalDirection.down,
- Clip clipBehavior = Clip.none,
- TextStyle? labelStyle,
- EdgeInsetsGeometry? labelPadding,
- double? pressElevation,
- Color? disabledColor,
- Color? selectedColor,
- BorderSide? side,
- OutlinedBorder? shape,
- Color? backgroundColor,
- EdgeInsetsGeometry? chipPadding,
- VisualDensity? visualDensity,
- MaterialTapTargetSize? materialTapTargetSize,
- double? elevation,
- Color? shadowColor,
- Color? selectedShadowColor,
- bool? showCheckmark,
- Color? checkmarkColor,
- ShapeBorder avatarBorder = const CircleBorder(),
- required ChipFieldItemBuilder<
T> itemBuilder,
Implementation
const ChoiceChipFieldBlocBuilder({
Key? key,
required this.selectFieldBloc,
this.focusNode,
this.nextFocusNode,
this.autofocus = false,
this.enableOnlyWhenFormBlocCanSubmit = false,
this.isEnabled = true,
this.readOnly = false,
this.animateWhenCanShow = true,
this.padding,
this.decoration = const InputDecoration(),
this.errorBuilder,
this.canDeselect = true,
this.direction = Axis.horizontal,
this.alignment = WrapAlignment.start,
this.spacing,
this.runAlignment = WrapAlignment.start,
this.runSpacing,
this.crossAxisAlignment = WrapCrossAlignment.start,
this.textDirection,
this.verticalDirection = VerticalDirection.down,
this.clipBehavior = Clip.none,
this.labelStyle,
this.labelPadding,
this.pressElevation,
this.disabledColor,
this.selectedColor,
this.side,
this.shape,
this.backgroundColor,
this.chipPadding,
this.visualDensity,
this.materialTapTargetSize,
this.elevation,
this.shadowColor,
this.selectedShadowColor,
this.showCheckmark,
this.checkmarkColor,
this.avatarBorder = const CircleBorder(),
required this.itemBuilder,
}) : super(key: key);