uiViews property
final
A list of views that represent all non-camera feeds.
Implementation
static final List<DashboardView> uiViews = [
DashboardView(
name: Routes.science,
iconFunc: () => Icon(Icons.science, color: Colors.black.withOpacity(0.5)),
builder: (context, index) => SciencePage(index: index),
),
DashboardView(
name: Routes.autonomy,
iconFunc: () => Icon(Icons.map, color: Colors.black.withOpacity(0.5)),
builder: (context, index) => MapPage(index: index),
),
DashboardView(
name: Routes.electrical,
iconFunc: () => Icon(Icons.bolt, color: Colors.black.withOpacity(0.5)),
builder: (context, index) => ElectricalPage(index: index),
),
DashboardView(
name: Routes.arm,
iconFunc: () => Icon(Icons.precision_manufacturing_outlined, color: Colors.black.withOpacity(0.5)),
builder: (context, index) => ArmPage(index: index),
),
DashboardView(
name: Routes.drive,
iconFunc: () => Icon(Icons.drive_eta, color: Colors.black.withOpacity(0.5)),
builder: (context, index) => DrivePage(index: index),
),
DashboardView(
name: Routes.rocks,
iconFunc: () => Icon(Icons.landslide, color: Colors.black.withOpacity(0.5)),
builder: (context, index) => RocksPage(index: index),
),
];