12345678910111213141516171819 |
- import 'package:flutter/widgets.dart';
- class HomeMenuItem {
- final String title;
- final String routeName;
- final String key;
- IconData? iconData;
- Widget? iconWidget;
- bool isSelected;
- HomeMenuItem({
- required this.title,
- required this.routeName,
- required this.key,
- this.isSelected = false,
- this.iconData,
- this.iconWidget,
- }) : assert(iconData != null || iconWidget != null);
- }
|