FormBuilderFilterChip constructor
FormBuilderFilterChip({Key key, @required String attribute, @required List<FormBuilderFieldOption> options, dynamic initialValue, List<FormFieldValidator> validators: const [], bool readOnly: false, InputDecoration decoration: const InputDecoration(), ValueChanged onChanged, FormFieldSetter onSaved, ValueTransformer valueTransformer, Color selectedColor, Color disabledColor, Color backgroundColor, Color shadowColor, Color selectedShadowColor, ShapeBorder shape, double elevation, double pressElevation, MaterialTapTargetSize materialTapTargetSize, Axis direction: Axis.horizontal, WrapAlignment alignment: WrapAlignment.start, WrapCrossAlignment crossAxisAlignment: WrapCrossAlignment.start, WrapAlignment runAlignment: WrapAlignment.start, double runSpacing: 0.0, double spacing: 0.0, TextDirection textDirection, VerticalDirection verticalDirection: VerticalDirection.down })
Implementation
FormBuilderFilterChip(
{Key key,
@required this.attribute,
@required this.options,
this.initialValue,
this.validators = const [],
this.readOnly = false,
this.decoration = const InputDecoration(),
this.onChanged,
this.onSaved,
this.valueTransformer,
this.selectedColor,
this.disabledColor,
this.backgroundColor,
this.shadowColor,
this.selectedShadowColor,
this.shape,
this.elevation,
this.pressElevation,
this.materialTapTargetSize,
this.direction = Axis.horizontal,
this.alignment = WrapAlignment.start,
this.crossAxisAlignment = WrapCrossAlignment.start,
this.runAlignment = WrapAlignment.start,
this.runSpacing = 0.0,
this.spacing = 0.0,
this.textDirection,
this.verticalDirection = VerticalDirection.down})
: super(key: key);