StoreShot class

What a frame is handed: everything only flutterware knows, and nothing else.

No headline. What words to draw is the frame's business, and being a widget in a localized tree it can reach them however the project keeps them — generated l10n, a catalog, a map, a file a copywriter edits.

Constructors

StoreShot({required ImageProvider<Object> image, List<ImageProvider<Object>> set = const [], required Size imageSize, required String slug, required int index, required int total, required Locale locale, required Device device, required StoreCanvas canvas, Brightness statusBrightness = Brightness.dark, Brightness navBrightness = Brightness.dark})
const

Properties

canvas → StoreCanvas
What has to be filled, and at what scale — see StoreCanvas.pixelRatio.
final
device → Device
What the app rendered as.
final
hashCode → int
The hash code for this object.
no setterinherited
image → ImageProvider<Object>
The app's own pixels, as captured.
final
imageSize → Size
What image is, in the device's logical pixels — the size the app laid itself out at, not the size of the file.
final
index → int
1-based position in the set, and how many there are. A frame that wants to number its shots, or treat the first differently, has these rather than having to be told twice.
final
locale → Locale
The set's locale — the app's tag, as the declaration spells it.
final
final
panoramaOffset → double
How far left to move a panoramaWidth-wide scene so this shot shows its own part of it. Negative for every shot but the first.
no setter
panoramaWidth → double
How wide a scene spanning the whole set is, in the canvas's logical units — total canvases side by side.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
set → List<ImageProvider<Object>>
Every shot of this set, in the order the store will show them — including this one, at set[index - 1].
final
slug → String
The shot's name, slugged — order-placed. An identifier: it is the file name and the step's address, and it is deliberately not display copy.
final
statusBrightness → Brightness
What the app declared through SystemUiOverlayStyle when this shot was captured, naming the icons — Brightness.dark is dark icons, over a light app.
final
total → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited