TestScreen class
This class returns the Scaffold of the test screen's UI when its builder is called The UI is organised as follows:
The appbar is obtained from getTestAppBar
The body is first structured with a main Column that divides the screen in 10 Row. The sum of the flex factors of every row is 17, so each row occupies a vertical portion of the screen of its flex factor divided by 17.
The first six rows, each with a flex factor of 1, form the reference key:
First row hosts symbols 1 to 3, and second row symbols 1 to 3.
Third row hosts symbols 4 to 6, and fourth row symbols 4 to 6.
Fifth row hosts symbols 7 to 9, and sixth row symbols 7 to 9.
The reference key occupies, as explained before, 6/17 of the height body of the screen.
The seventh row is for the central symbol and has a flex factor of 5.
The remaining three rows are for the numeric keyboard, each of them having a flex factor of 2.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- TestScreen
Constructors
- TestScreen.new({Key? key})
-
const
Properties
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited