MenuItemData constructor

MenuItemData({
  1. required String title,
  2. required IconData icon,
  3. String? route,
  4. List<MenuItemData> children = const [],
  5. bool isExpanded = false,
  6. bool isActive = false,
})

Implementation

MenuItemData({
  required this.title,
  required this.icon,
  this.route,
  this.children = const [],
  this.isExpanded = false,
  this.isActive = false,
});