FormBuilderSegmentedControl constructor

FormBuilderSegmentedControl({Key key, @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, FormFieldSetter onSaved })

Implementation

FormBuilderSegmentedControl({
  Key key,
  @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,
  this.onSaved,
}) : super(key: key);