pages library

Contains the high-level UI code that defines each page.

This library is organized by having a separate file for each page (or complex popup) in the entire app.

This library may depend on the data, services, models, and widgets libraries.

Classes

ArmPage
The view model for the arm inverse kinematics analysis page.
ArmPainterSide
A widget to show the profile view of the arm.
ArmPainterTop
A widget to paint the top-down view of the arm.
ChartsRow
A ScrollingRow of charts, using builder on each ScienceAnalysis in analyses.
DashboardView
A view in the UI.
DesktopScrollBehavior
Allows desktop users to scroll with their mouse or other device.
DeviceStatuses
A widget to show the statuses of the different devices, along with options to ping the device or open an SSH connection
DrivePage
The UI for the drive analysis.
ElectricalPage
The UI for the electrical subsystem.
FirmwareStatuses
Widget displaying the firmware statuses and supported version
HomePage
The main dashboard page.
HomePageState
The state for the homepage. Handles showing and hiding the sidebar.
LidarView
A page displaying data from the Lidar
LidarViewPainter
A custom painter for the Lidar view
LogsBody
The widget that actually contains the logs for the page.
LogsOptions
A widget to show the options for the logs page.
LogsPage
The logs page, containing the LogsOptions and LogsBody widgets.
LogsState
The state of the logs page. Used to ensure that the LogsViewModel is only created once.
LogWidget
A widget that shows a BurtLog.
MapPage
The UI for the autonomy subsystem.
RelaysView
A widget to display the status and toggle switches of the Relays
ResultsBox
A box to display the final results for each sensor.
Rock
Contains data and knowledge about a specific rock type.
RockModel
A view model to control which rocks are shown on screen.
RocksPage
A page to show a searchable list of rocks and information about them.
RockWidget
A widget to show a row with details about a specific kind of rock.
Routes
The names of all the pages available in the app.
SciencePage
The science analysis page.
ScrollingRow
A row of scrollable or non-scrollable widgets.
SettingsPage
The settings page.
SocketSwitcher
A widget to switch between tank and rover modes.
SplashPage
Initializes the dashboard and handles errors.
SplashPageState
Initializes the dashboard and handles errors.
SubsystemsPage
A page displaying the status of Subsystems and Relays
ValueEditor<T>
A widget to display all the settings in a ValueBuilder.

Enums

SegaState
The state of the SEGA animation.

Constants

debugWidget → const Icon
The icon to show for logs with BurtLogLevel.debug.
errorWidget → const Icon
The icon to show for logs with BurtLogLevel.error.
traceWidget → const Icon
The icon to show for logs with BurtLogLevel.trace.
warningWidget → const Icon
The icon to show for logs with BurtLogLevel.warning.

Properties

criticalWidget Icon
The icon to show for logs with BurtLogLevel.critical.
final
infoWidget Icon
The icon to show for logs with BurtLogLevel.info.
final

Functions

getLogsActions(BuildContext context, LogsViewModel model) → List<Widget>
Returns a list of widgets that are used as the header or footer actions for the log page
getTitles(List<String> titles) GetTitleWidgetFunction
Gets titles for a graph.

Typedefs

ViewBuilder = Widget Function(BuildContext context, int index)
A function that builds a view of the given index.