GalleryRenderBase class abstract

Shared structural base for themed gallery renderers.

Emits a coarse CSS-grid masonry (repeat(auto-fill, minmax(min,1fr)) with grid-auto-flow: dense, aspect-driven column AND row spans) whose tiles carry data-arcane-gallery-item / data-ratio / data-span so the opt-in packing script can refine placements. Each tile stretches to fill its grid cell; the media (the consumer's ArcaneGalleryTile.mediaChild or a default <img>) covers the cell (object-fit: cover), with an optional title/meta header, corner overlays, and a footer.

Lives in core; depends only on core props. Never import a theme package.

Inheritance

Constructors

GalleryRenderBase(GalleryProps props, {Key? key})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one component replaces another component in the tree.
finalinherited
props GalleryProps
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showsTileHeader bool
Whether the tile's title/meta render as a visible header block.
no setter
surfaceClass String
Root surface CSS class (e.g. 'win95-gallery').
no setter
tileClass String
Per-tile CSS class (e.g. 'win95-gallery-tile').
no setter

Methods

build(BuildContext context) Component
Describes the part of the user interface represented by this component.
override
createElement() Element
Creates a StatelessElement to manage this component's location in the tree.
inherited
mediaStyles(ArcaneGalleryTile tile) Map<String, String>
Extra inline styles merged onto each media region. Default: none.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRebuild(covariant Component newComponent) bool
Implement this method to determine whether a rebuild can be skipped.
inherited
surfaceStyles(GalleryProps props) Map<String, String>
Extra inline styles merged onto the surface. Default: none.
tileStyles(ArcaneGalleryTile tile) Map<String, String>
Extra inline styles merged onto each tile frame. Default: none.
toString() String
A string representation of this object.
inherited

Operators

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