uiViews property

List<DashboardView> uiViews
final

A list of views that represent all non-camera feeds.

Implementation

static final List<DashboardView> uiViews = [
  DashboardView(
    name: Routes.science,
    iconFunc: (context) => Icon(Icons.science, color: context.colorScheme.onSurface.withValues(alpha: 0.5)),
    builder: (context, index) => SciencePage(index: index),
  ),
  DashboardView(
    name: Routes.autonomy,
    iconFunc: (context) => Icon(Icons.map, color: context.colorScheme.onSurface.withValues(alpha: 0.5)),
    builder: (context, index) => MapPage(index: index),
  ),
  DashboardView(
    name: Routes.electrical,
    iconFunc: (context) => Icon(Icons.bolt, color: context.colorScheme.onSurface.withValues(alpha: 0.5)),
    builder: (context, index) => ElectricalPage(index: index),
  ),
  DashboardView(
    name: Routes.lidar,
    iconFunc: (context) => Icon(Icons.radar, color: context.colorScheme.onSurface.withValues(alpha: 0.5)),
    builder: (context, index) => LidarView(index: index),
  ),
  DashboardView(
    name: Routes.arm,
    iconFunc: (context) => Icon(Icons.precision_manufacturing_outlined, color: context.colorScheme.onSurface.withValues(alpha: 0.5)),
    builder: (context, index) => ArmPage(index: index),
  ),
  DashboardView(
    name: Routes.drive,
    iconFunc: (context) => Icon(Icons.drive_eta, color: context.colorScheme.onSurface.withValues(alpha: 0.5)),
    builder: (context, index) => DrivePage(index: index),
  ),
  DashboardView(
    name: Routes.rocks,
    iconFunc: (context) => Icon(Icons.landslide, color: context.colorScheme.onSurface.withValues(alpha: 0.5)),
    builder: (context, index) => RocksPage(index: index),
  ),
  DashboardView(
    name: Routes.controllers,
    iconFunc: (context) => Icon(Icons.sports_esports, color: context.colorScheme.onSurface.withValues(alpha: 0.5)),
    builder: (context, index) => ControllersPage(index: index),
  ),
];