StandardMenuItem<User> constructor
const
StandardMenuItem<User> ({
- Key? key,
- required String titleText,
- required RoutePath<
RouteArguments> ? routePath, - IconData? iconData,
- List<
NavigationItem> ? children, - BoxDecoration? decoration,
- BoxDecoration? selectedDecoration,
Implementation
const StandardMenuItem({
super.key,
required this.titleText,
required this.routePath,
this.iconData,
this.children,
this.decoration,
this.selectedDecoration,
}) : assert(
routePath == null && children != null ||
routePath != null && children == null,
'routePath or onTap needs to be set but not both.');