ChoiceChipFieldBlocBuilder<T> constructor

const ChoiceChipFieldBlocBuilder<T>({
  1. Key? key,
  2. required SelectFieldBloc<T, dynamic> selectFieldBloc,
  3. FocusNode? focusNode,
  4. FocusNode? nextFocusNode,
  5. bool autofocus = false,
  6. bool enableOnlyWhenFormBlocCanSubmit = false,
  7. bool isEnabled = true,
  8. bool readOnly = false,
  9. bool animateWhenCanShow = true,
  10. EdgeInsetsGeometry? padding,
  11. InputDecoration decoration = const InputDecoration(),
  12. FieldBlocErrorBuilder? errorBuilder,
  13. bool canDeselect = true,
  14. Axis direction = Axis.horizontal,
  15. WrapAlignment alignment = WrapAlignment.start,
  16. double? spacing,
  17. WrapAlignment runAlignment = WrapAlignment.start,
  18. double? runSpacing,
  19. WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start,
  20. TextDirection? textDirection,
  21. VerticalDirection verticalDirection = VerticalDirection.down,
  22. Clip clipBehavior = Clip.none,
  23. TextStyle? labelStyle,
  24. EdgeInsetsGeometry? labelPadding,
  25. double? pressElevation,
  26. Color? disabledColor,
  27. Color? selectedColor,
  28. BorderSide? side,
  29. OutlinedBorder? shape,
  30. Color? backgroundColor,
  31. EdgeInsetsGeometry? chipPadding,
  32. VisualDensity? visualDensity,
  33. MaterialTapTargetSize? materialTapTargetSize,
  34. double? elevation,
  35. Color? shadowColor,
  36. Color? selectedShadowColor,
  37. bool? showCheckmark,
  38. Color? checkmarkColor,
  39. ShapeBorder avatarBorder = const CircleBorder(),
  40. 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);