store library

Composing a store screenshot — the frame a project draws around its app's own pixels.

Published API: a project subclasses StoreFrame, so what is exported here is what somebody's listing compiles against.

Separate from lib/plugins.dart because this half imports Flutter and that half may not: tool/flutterware.dart runs under a plain dart run and declares the listing, while this runs inside the renderer and draws it.

Classes

DefaultStoreFrame
The composition a project gets when it declares no frame of its own.
PlainStoreFrame
The app's own pixels, edge to edge, wearing the chrome a real screenshot would have. No ground, no device body, no rounding.
StatusChrome
The chrome, drawn over a screen of device's logical size.
StoreCanvas
The image a store receives, in physical pixels.
StoreFrame
The base a project's own composition extends.
StoreFrameStage
What a frame is rendered inside — the opaque ground and the locale.
StoreShot
What a frame is handed: everything only flutterware knows, and nothing else.
StoreTarget
One point of a listing, with both stores' vocabularies already resolved — what everything downstream of the declaration consumes.

Functions

defaultStoreFrame(StoreShot shot) → StoreFrame
The frame a project that declares none gets: chrome everywhere, a composition only where geometry forces one.