ComicBurst class

The one number a screen shouts: a jagged star with a hard back plate, a number in it, a word over and under. It fits any number, scaling its words down whole, and it can't clip. One per screen: a second under the same ComicScaffold comes out as a flat ComicStamp, with a line in the log. For small repeatable counts use ComicPop, and for a status ComicStamp.

ComicBurst(number: '23', over: 'In', under: 'days!')
Inheritance

Constructors

ComicBurst({Key? key, required String number, String? over, String? under, bool large = false, double? width, double? height, double? wordSize, double? numberSize, double tilt = -8, int seed = 3})
Creates a ComicBurst.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → double?
width: the allocated width in logical pixels. height: the allocated height in logical pixels. wordSize: the supporting word size in logical pixels. numberSize: the main numeral size in logical pixels.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
large → bool
A splash's size: 142 by 122 on a phone, 262 by 216 on a desktop. Otherwise 146 by 124 and 214 by 184.
final
number → String
The number printed in the figure.
final
numberSize → double?
width: the allocated width in logical pixels. height: the allocated height in logical pixels. wordSize: the supporting word size in logical pixels. numberSize: the main numeral size in logical pixels.
final
over → String?
over: the words above the main figure. under: the words below the main figure.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seed → int
Moves the jags. Same seed, same star.
final
tilt → double
The drawing's rotation in degrees.
final
under → String?
over: the words above the main figure. under: the words below the main figure.
final
width → double?
width: the allocated width in logical pixels. height: the allocated height in logical pixels. wordSize: the supporting word size in logical pixels. numberSize: the main numeral size in logical pixels.
final
wordSize → double?
width: the allocated width in logical pixels. height: the allocated height in logical pixels. wordSize: the supporting word size in logical pixels. numberSize: the main numeral size in logical pixels.
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<ComicBurst>
Creates the mutable state for this widget at a given location in the tree.
override
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