LedgerRegister class
The register (.register): the transactions as a statement, its day
groups 20 apart (28 on the desktop), a month rule where it runs back
into an earlier month. On the desktop its rows stand in columns (time,
mark, merchant, category, account, amount, as columns keeps them)
under the column heads (their words, the mark's column left blank);
searchResults narrows the columns to the search's main column; showDay
widens the first for rows that carry their day (Home's recent
activity, with no day groups).
LedgerRegister(heads: const ['Time', 'Merchant', 'Category', 'Account', 'Amount'], children: [for (final d in days) LedgerDayGroup(d.label, net: d.net, rows: d.rows)])
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- LedgerRegister
Constructors
-
LedgerRegister({required List<
Widget> children, LedgerRegisterColumns columns = LedgerRegisterColumns.full, List<String> ? heads, bool searchResults = false, bool showDay = false, Key? key}) -
A register of
children.const
Properties
-
children
→ List<
Widget> -
Its day groups and month rules, or its rows (showDay).
final
- columns → LedgerRegisterColumns
-
Which of the desktop's columns stand.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
heads
→ List<
String> ? -
The desktop's column heads, in order.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchResults → bool
-
Whether it lists search results: the columns narrow to the search's main
column.
final
- showDay → bool
-
Whether each row carries its day, the first column widened (no day
groups).
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