CustomCheckboxGroup constructor
const
CustomCheckboxGroup({
- Key? key,
- String? label,
- TextStyle? labelStyle,
- required Map<
String, String> items, - List<
String> selectedKeys = const [], - String? errorMsg,
- Color? errorColor,
- void onChanged()?,
- Color? checkboxActiveColor,
- Color? checkboxBorderColor,
- Color? textColor,
- bool isDisabled = false,
- bool isOptionalMark = false,
- Color? disabledTextColor,
- Color? disabledCheckboxColor,
- bool showSelectAll = false,
- int? maxSelection,
- int? minSelection,
- CheckboxGroupLayout layout = CheckboxGroupLayout.vertical,
Implementation
const CustomCheckboxGroup({
Key? key,
this.label,
this.labelStyle,
required this.items,
this.selectedKeys = const [],
this.errorMsg,
this.errorColor,
this.onChanged,
this.checkboxActiveColor,
this.checkboxBorderColor,
this.textColor,
this.isDisabled = false,
this.isOptionalMark = false,
this.disabledTextColor,
this.disabledCheckboxColor,
this.showSelectAll = false,
this.maxSelection,
this.minSelection,
this.layout = CheckboxGroupLayout.vertical,
}) : super(key: key);