GroupedCheckbox<T> constructor
const
GroupedCheckbox<T> ({
- Key? key,
- required List<
T> ? itemList, - required CheckboxOrientation orientation,
- required dynamic onChanged(
- List<
T> ?
- List<
- required Widget itemWidgetBuilder(
- T
- List<
T> ? checkedItemList, - List<
T> ? disabled, - Color? activeColor,
- Color? checkColor,
- Color? focusColor,
- Color? hoverColor,
- MaterialTapTargetSize? materialTapTargetSize,
- bool tristate = false,
- Axis wrapDirection = Axis.horizontal,
- WrapAlignment wrapAlignment = WrapAlignment.start,
- double wrapSpacing = 0.0,
- WrapAlignment wrapRunAlignment = WrapAlignment.start,
- double wrapRunSpacing = 0.0,
- WrapCrossAlignment wrapCrossAxisAlignment = WrapCrossAlignment.start,
- TextDirection? wrapTextDirection,
- VerticalDirection wrapVerticalDirection = VerticalDirection.down,
- MouseCursor? mouseCursor,
- MaterialStateProperty<
Color?> ? fillColor, - MaterialStateProperty<
Color?> ? overlayColor, - double? splashRadius,
- VisualDensity? visualDensity,
- FocusNode? focusNode,
- bool autofocus = false,
- OutlinedBorder? shape,
- BorderSide? side,
- bool isError = false,
- String? semanticLabel,
Implementation
const GroupedCheckbox({
Key? key,
required this.itemList,
required this.orientation,
required this.onChanged,
required this.itemWidgetBuilder,
this.checkedItemList,
this.disabled,
this.activeColor,
this.checkColor,
this.focusColor,
this.hoverColor,
this.materialTapTargetSize,
this.tristate = false,
this.wrapDirection = Axis.horizontal,
this.wrapAlignment = WrapAlignment.start,
this.wrapSpacing = 0.0,
this.wrapRunAlignment = WrapAlignment.start,
this.wrapRunSpacing = 0.0,
this.wrapCrossAxisAlignment = WrapCrossAlignment.start,
this.wrapTextDirection,
this.wrapVerticalDirection = VerticalDirection.down,
this.mouseCursor,
this.fillColor,
this.overlayColor,
this.splashRadius,
this.visualDensity,
this.focusNode,
this.autofocus = false,
this.shape,
this.side,
this.isError = false,
this.semanticLabel,
}) : super(key: key);