SeniorMenuItemList constructor
const
SeniorMenuItemList({
- Key? key,
- Widget? leading,
- required String title,
- VoidCallback? onTap,
- String? subtitle,
- bool enabled = true,
- double leftPadding = 0,
- double rightPadding = 0,
- SeniorMenuListItemStyle? style,
- int titleMaxLines = 1,
Creates a menu list item according to SDS.
The title parameter is required.
Implementation
const SeniorMenuItemList({
Key? key,
this.leading,
required this.title,
this.onTap,
this.subtitle,
this.enabled = true,
this.leftPadding = 0,
this.rightPadding = 0,
this.style,
this.titleMaxLines = 1,
}) : super(key: key);