CheckboxGroup constructor
CheckboxGroup(
- {Key? key,
- required List<
String> labels, - List<
String> ? checked, - List<
String> ? disabled, - void onChange( )?,
- void onSelected( )?,
- TextStyle labelStyle = const TextStyle(),
- GroupedButtonsOrientation orientation = GroupedButtonsOrientation.VERTICAL,
- Widget itemBuilder( )?,
- Color? activeColor,
- Color checkColor = Colors.white,
- bool tristate = false,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- EdgeInsetsGeometry margin = EdgeInsets.zero}
Implementation
CheckboxGroup({
Key? key,
required this.labels,
this.checked,
this.disabled,
this.onChange,
this.onSelected,
this.labelStyle = const TextStyle(),
this.orientation = GroupedButtonsOrientation.VERTICAL,
this.itemBuilder,
this.activeColor,
this.checkColor = Colors.white,
this.tristate = false,
this.padding = EdgeInsets.zero,
this.margin = EdgeInsets.zero,
}) : super(key: key);