view.main_screen library Null safety
The main screen of the calculator. It uses ScreenPositioner to exactly position widgets, and scale them to the screen size.
Classes
- DrawnBackground
- Draw the background of the calculator.
- ErrorDialog
- MainMenu
- The application's main menu.
- MainScreen
- The main screen. Most of the interesting work happens in LcdDisplay and CalculatorButton.
- OrientedScreen
- ScreenPositioner
- A utility to to position something in absolute positions on the screen, relative to the calculator face in virtual centimeters, which correspond to the real HP-16c. This encloses a child widget within a suitable container to be put inside Stack widget with StackFit.expand set.
Functions
-
showErrorDialog(
BuildContext context, String message, Object? exception) → Future< void>