ComicEventPanel class
Something coming up: a date in its caption, a title, where, who's in, a count. Its drawing or picture stands in a cell at its
end on a phone and a band on top on a desktop. big is the one that's the star of the row: it counts down with count in
the lettering, on a tinted ground. Lay them in ComicTier(phone: ComicTierLayout.stack).
ComicEventPanel(when: 'Sat 14 Nov', title: 'Morning walk', where: 'From the station', leading: Icon(ComicGlyphs.house), people: const [ComicPerson(initials: 'AB', size: 24)], tally: '5 in')
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- ComicEventPanel
Constructors
-
ComicEventPanel({Key? key, required String when, required String title, IconData? whenIcon, String? where, Widget? leading, Widget? art, int ground = 1, List<
ComicPerson> people = const [], String? tally, bool big = false, String? count, String? countWord, Widget? trailing, VoidCallback? onPressed, FocusNode? focusNode, bool autofocus = false}) -
Creates a ComicEventPanel.
const
Properties
- art → Widget?
-
A picture or a drawing, in place of a leading.
final
- autofocus → bool
-
Whether the part asks for the focus when it first appears.
final
- big → bool
-
Uses the emphasized, larger presentation.
final
- count → String?
-
where: the place or location label. tally: the count label printed with this content. count: the count printed in the main figure. countWord: the unit or caption printed beside the count.
final
- countWord → String?
-
where: the place or location label. tally: the count label printed with this content. count: the count printed in the main figure. countWord: the unit or caption printed beside the count.
final
- focusNode → FocusNode?
-
The caller's focus node, if any; the part makes its own when null.
final
- ground → int
-
The background treatment behind this content.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- leading → Widget?
-
An optional caller-supplied graphic.
final
- onPressed → VoidCallback?
-
Called when activated; null disables the action.
final
-
people
→ List<
ComicPerson> -
People displayed beside this content.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tally → String?
-
where: the place or location label. tally: the count label printed with this content. count: the count printed in the main figure. countWord: the unit or caption printed beside the count.
final
- title → String
-
when: the date or time label of the event. title: the primary heading.
final
- trailing → Widget?
-
Content after the main words.
final
- when → String
-
when: the date or time label of the event. title: the primary heading.
final
- whenIcon → IconData?
-
An optional glyph beside the event's date or time.
final
- where → String?
-
where: the place or location label. tally: the count label printed with this content. count: the count printed in the main figure. countWord: the unit or caption printed beside the count.
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