FieldChoiceChip constructor Null safety

const FieldChoiceChip(
  1. {bool? autofocus,
  2. required String? type,
  3. String? avatar,
  4. String? avatarBorder,
  5. String? backgroundColor,
  6. String? clipBehavior,
  7. String? disabledColor,
  8. double? elevation,
  9. String? focusNode,
  10. bool? isEnabled,
  11. String? label,
  12. String? labelPadding,
  13. String? labelStyle,
  14. String? materialTapTargetSize,
  15. String? onSelected,
  16. Map<String, dynamic>? choices,
  17. String? padding,
  18. double? pressElevation,
  19. bool? selected,
  20. String? selectedColor,
  21. String? selectedShadowColor,
  22. double? sequence,
  23. String? shadowColor,
  24. String? shape,
  25. String? side,
  26. String? tooltip,
  27. String? visulalDensity}
)

Implementation

const FieldChoiceChip({
  /// Boolean value.
  this.autofocus,
  required this.type,
  /// Widget to display as the avatar.
  /// specified within quotes.
  this.avatar,

  /// Border to draw around the avatar.
  /// ex: 'BoxBorder.all(width: 2.0, color: Colors.grey.shade400)'
  this.avatarBorder,

  /// Background color of the chip.
  /// specified within quotes.
  this.backgroundColor,

  /// How to clip the chip's content.
  /// ex:'Clip.none'
  this.clipBehavior,
  this.disabledColor,

  /// integer value
  /// ex: 5
  this.elevation,
  this.focusNode,

  /// Boolean value. Default is 'true'.
  this.isEnabled,
  this.label,
  this.labelPadding,
  this.labelStyle,
  this.materialTapTargetSize,
  this.onSelected,
  this.choices,
  this.padding,
  this.pressElevation,
  this.selected,
  this.selectedColor,
  this.selectedShadowColor,
  this.sequence,
  this.shadowColor,
  this.shape,
  this.side,
  this.tooltip,
  this.visulalDensity,
});