import 'package:flutter/material.dart';
import 'package:syncrow_web/pages/analytics/modules/air_quality/views/air_quality_view.dart';
import 'package:syncrow_web/pages/analytics/modules/energy_management/views/analytics_energy_management_view.dart';
import 'package:syncrow_web/pages/analytics/modules/occupancy/views/analytics_occupancy_view.dart';

enum AnalyticsPageTab {
  energyManagement(
    title: 'Energy Management',
    child: AnalyticsEnergyManagementView(),
  ),
  occupancy(
    title: 'Occupancy',
    child: AnalyticsOccupancyView(),
  ),
  airQuality(
    title: 'Air Quality',
    child: AirQualityView(),
  );

  const AnalyticsPageTab({
    required this.title,
    required this.child,
  });

  final Widget child;
  final String title;
}
