LedgerFieldFrame class
A Ledger field as a ledger rules it: its label in the small capitals, then the line it is written on, ruled under in the ink (the accountant's double rule while it has focus, the danger red when wrong, the light rule when it cannot be used), then its help or its error. The rule is painted over the line's foot, so focus and error never move a pixel of the page. Its ink changes in Ledger's one motion, and focus draws the second line in from the reading start as a pen does. Plumbing of the text field and the select; pages never place one.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- LedgerFieldFrame
Constructors
- LedgerFieldFrame({required DesignFieldParts parts, required Widget line, FocusNode? focusNode, String? displayLabel, MouseCursor labelCursor = SystemMouseCursors.click, bool ruled = true, DesignStyle? style, Key? key})
-
A field's frame round its
line.const
Properties
- displayLabel → String?
-
The visible caption when the control supplies its own accessible name.
final
- focusNode → FocusNode?
-
Focused by a tap on the label.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- labelCursor → MouseCursor
-
The cursor over the label while a tap on it focuses the field: a text
field's caret cursor, a select's click.
final
- line → Widget
-
The written line: the control, in its box.
final
- parts → DesignFieldParts
-
What DesignField made: the words, the state, the control's node.
final
- ruled → bool
-
Whether the frame rules under the whole line; false leaves the line to
rule its own parts (a code's slots, each on its own short rule).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → DesignStyle?
-
The field's own style, over
components.textField: itsedgeinks the rule, itsfilllays a paper behind the line and itspaddingstands round it.final
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.
override
-
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