FlutterFlowChoiceChips constructor

const FlutterFlowChoiceChips({
  1. Key? key,
  2. required List<ChipData> options,
  3. required void onChanged(
    1. List<String>?
    )?,
  4. required FormFieldController<List<String>> controller,
  5. required ChipStyle selectedChipStyle,
  6. required ChipStyle unselectedChipStyle,
  7. required double chipSpacing,
  8. double rowSpacing = 0.0,
  9. required bool multiselect,
  10. bool initialized = true,
  11. WrapAlignment alignment = WrapAlignment.start,
  12. Color? disabledColor,
  13. bool wrapped = true,
})

Implementation

const FlutterFlowChoiceChips({
  super.key,
  required this.options,
  required this.onChanged,
  required this.controller,
  required this.selectedChipStyle,
  required this.unselectedChipStyle,
  required this.chipSpacing,
  this.rowSpacing = 0.0,
  required this.multiselect,
  this.initialized = true,
  this.alignment = WrapAlignment.start,
  this.disabledColor,
  this.wrapped = true,
});