import 'package:flutter/material.dart';

enum BusinessSection { overview, schools, programs, analytics, enrollments, studentPerformance }

extension BusinessSectionDetails on BusinessSection {
  String get title => switch (this) {
        BusinessSection.overview => 'Overview',
        BusinessSection.schools => 'Schools',
        BusinessSection.programs => 'Programs',
        BusinessSection.analytics => 'Analytics',
        BusinessSection.enrollments => 'Enrollments',
        BusinessSection.studentPerformance => 'Student Performance',
      };

  IconData get icon => switch (this) {
        BusinessSection.overview => Icons.dashboard_outlined,
        BusinessSection.schools => Icons.account_balance_outlined,
        BusinessSection.programs => Icons.business_center_outlined,
        BusinessSection.analytics => Icons.query_stats_outlined,
        BusinessSection.enrollments => Icons.groups_outlined,
        BusinessSection.studentPerformance => Icons.assessment_outlined,
      };
}
