import 'package:flutter/material.dart';

enum MarketingSection { overview, serviceCenters, agents, phones, monthlyPerformance, analytics, monthlyReports }

extension MarketingSectionDetails on MarketingSection {
  String get title => switch (this) {
        MarketingSection.overview => 'Overview',
        MarketingSection.serviceCenters => 'Service Centers',
        MarketingSection.agents => 'Agents',
        MarketingSection.phones => 'Institution Phones',
        MarketingSection.monthlyPerformance => 'Monthly Performance',
        MarketingSection.analytics => 'Analytics',
        MarketingSection.monthlyReports => 'Monthly Reports',
      };

  IconData get icon => switch (this) {
        MarketingSection.overview => Icons.dashboard_outlined,
        MarketingSection.serviceCenters => Icons.storefront_outlined,
        MarketingSection.agents => Icons.support_agent_outlined,
        MarketingSection.phones => Icons.phone_iphone_outlined,
        MarketingSection.monthlyPerformance => Icons.track_changes_outlined,
        MarketingSection.analytics => Icons.query_stats_outlined,
        MarketingSection.monthlyReports => Icons.summarize_outlined,
      };
}
