mirrored_repositories/Flutter-Open-Source-Apps/Flutter Open Source Apps/Intermediate/Swiggy UI Clone/lib/models
import 'package:flutter/material.dart';

class Menu {
  const Menu({
    required this.icon,
    required this.title,
  });

  final IconData icon;
  final String title;

  static List<Menu> getMenus() {
    return const [
      Menu(icon: Icons.home_outlined, title: 'Home'),
      Menu(icon: Icons.search, title: 'Search'),
      Menu(icon: Icons.shopping_bag_outlined, title: 'Orders'),
      Menu(icon: Icons.local_offer_outlined, title: 'Offers'),
      Menu(icon: Icons.person_outline, title: 'Profile'),
      Menu(icon: Icons.more_horiz, title: 'More'),
    ];
  }
}
