SeniorSquareButtonsMenuItemData.checkbox constructor
SeniorSquareButtonsMenuItemData.checkbox({})
Information for creating a checkboxed button from the SeniorSquareButtonsMenu component.
The icon, isChecked, onCheck, onTap, text and type parameters are required.
Implementation
SeniorSquareButtonsMenuItemData.checkbox({
this.key,
this.disabled = false,
required this.icon,
required this.isChecked,
required this.onCheck,
required this.onTap,
required this.text,
required this.type,
this.withElevation = false,
}) {
withCheckbox = true;
}