FormBuilderSegmentedControl constructor

FormBuilderSegmentedControl({@required String attribute, @required List<FormBuilderFieldOption> options, dynamic initialValue, List<FormFieldValidator> validators: const [], bool readOnly: false, InputDecoration decoration: const InputDecoration(), ValueChanged onChanged, ValueTransformer valueTransformer, Color borderColor, Color selectedColor, Color pressedColor, TextStyle textStyle, EdgeInsetsGeometry padding, Color unselectedColor })

Implementation

FormBuilderSegmentedControl({
  @required this.attribute,
  @required this.options,
  this.initialValue,
  this.validators = const [],
  this.readOnly = false,
  this.decoration = const InputDecoration(),
  this.onChanged,
  this.valueTransformer,
  this.borderColor,
  this.selectedColor,
  this.pressedColor,
  this.textStyle,
  this.padding,
  this.unselectedColor,
});