ComicPictureCard class

A picture over its words, bleeding to its panel's contour: one piece of a collection, a place, a person. The picture is your media slot. Lay them out in a ComicTier.

ComicPictureCard(slotId: 'item-1', title: 'First piece', subtitle: 'Kind A', trailing: const ComicTag('New'), onPressed: () {})
Inheritance

Constructors

ComicPictureCard({Key? key, required String slotId, required String title, String? subtitle, String? figure, Widget? trailing, double aspect = 4 / 3, VoidCallback? onPressed, Widget? image, ComicStyle? style, FocusNode? focusNode, bool autofocus = false})
Creates a ComicPictureCard.
const

Properties

aspect → double
The width divided by the height of the picture.
final
autofocus → bool
Whether the part asks for the focus when it first appears.
final
figure → String?
A number that belongs to the piece, in the lettering.
final
focusNode → FocusNode?
The caller's focus node, if any; the part makes its own when null.
final
hashCode → int
The hash code for this object.
no setterinherited
image → Widget?
Caller-supplied content instead of the named media slot.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onPressed → VoidCallback?
Called when activated; null disables the action.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slotId → String
A declared media slot.
final
style → ComicStyle?
Appearance above the shared card component theme.
final
subtitle → String?
Secondary information printed with the entry.
final
title → String
The primary heading.
final
trailing → Widget?
A ComicTag.
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