ComicTrackFace class
A cell's face inside a trough: child centred gap inside the cell, with the press's marks in shape, so its wash and its focus print are concentric with the trough and the thumb. Where the row is too narrow for a cell's words they shrink on one line rather than break, so every cell keeps one height and its words their place.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- ComicTrackFace
Constructors
-
ComicTrackFace({Key? key, required Set<
WidgetState> states, required OutlinedBorder shape, required Widget child, double gap = ComicTrack.inset, EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: ComicSpace.gap), bool wrap = false, Color? overlay, Color? fill}) -
Creates a cell face.
const
Properties
- child → Widget
-
What the cell says.
final
- fill → Color?
-
The cell's own fill in shape, under its marks: a cell lit on its own where several can be on at once (a toggle
group), as the thumb lights one.
final
- gap → double
-
The room between the rim and the face.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- overlay → Color?
-
A styled part's wash for these states, drawn as given.
final
- padding → EdgeInsetsGeometry
-
The room inside the face: by default 14, so with the trough's 2.5 rim and the 2 px gap an end cell's words
stand on a text field's keyline (comicFieldWords) from the trough's outline.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → OutlinedBorder
-
The cell's outline: the trough's less the rim and gap.
final
-
states
→ Set<
WidgetState> -
The press's states.
final
- wrap → bool
-
Whether the label can use more than one line.
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.
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