DefaultStoreFrame class

The composition a project gets when it declares no frame of its own.

Deliberately a real design rather than a placeholder, and deliberately a plain one. The hand-drawn device bodies live behind flutter_svg, and a published package does not get a new dependency so that a default can have artwork — a rounded body is also what most listings actually ship, and Apple's own guidance is against a device frame that is not the device.

Where this applies at all is decided elsewhere and narrowly: a project that declares no frame keeps getting raw app pixels wherever a store accepts them, so this composes only what geometry forces.

The headline band is empty unless the project fills it. Passing a builder is three lines and produces the composition everybody recognises; passing nothing produces a clean, legal, unlabelled one. It is never invented here, because a headline is a marketing decision.

Inheritance

Constructors

DefaultStoreFrame(StoreShot shot, {Key? key, String? headline, Color ground = const Color(0xFFF3F1EC), Color ink = const Color(0xFF1B1B19)})
const

Properties

ground → Color
The canvas behind everything. Opaque by contract.
final
hashCode → int
The hash code for this object.
no setterinherited
headline → String?
What to write above the device, or null for a band that draws nothing.
final
ink → Color
The headline's colour, and the device body's edge.
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
shot → StoreShot
finalinherited

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