CheckButton constructor
CheckButton(
- {Key key,
- YekongaForm formControl,
- @required String name,
- @required List<
Map< options,String, dynamic> > - dynamic value,
- bool isRequired = false,
- ValueChanged onChanged,
- bool multiple = false,
- Color color,
- WrapAlignment alignment = WrapAlignment.spaceEvenly,
- Color selectedColor = Const.COLOR_PRIMARY,
- String dataValue = 'value',
- String dataLabel = 'label',
- int height = 100,
- double margin = 0}
Implementation
CheckButton({
Key key,
this.formControl,
@required this.name,
@required this.options,
this.value,
this.isRequired: false,
this.onChanged,
this.multiple: false,
this.color,
this.alignment: WrapAlignment.spaceEvenly,
this.selectedColor: Const.COLOR_PRIMARY,
this.dataValue: 'value',
this.dataLabel: 'label',
this.height: 100,
this.margin: 0,
}) : super(key: key);