GalleryProps class

Properties for the gallery surface, passed to context.renderers.gallery.

Constructors

GalleryProps({String? id, required List<ArcaneGalleryTile> tiles, required String ariaLabel, ArcaneGalleryLayout layout = ArcaneGalleryLayout.masonry, bool packing = false, bool draggableTiles = false, double dragKeyboardStep = 16, double dragInset = 4, double minColumnWidth = 220, int? minimumTileArea, int? targetTileArea, String classes = ''})
const

Properties

ariaLabel → String
final
classes → String
final
draggableTiles → bool
Opt-in pointer and keyboard repositioning within the gallery bounds.
final
dragInset → double
Minimum space, in logical pixels, retained inside the gallery edge.
final
dragKeyboardStep → double
Distance, in logical pixels, moved by Shift+Arrow keyboard commands.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
layout → ArcaneGalleryLayout
final
minColumnWidth → double
The minmax() minimum column width in px for the CSS-grid base.
final
minimumTileArea → int?
Optional minimum rendered tile area in grid cells.
final
packing → bool
Opt-in ratio-aware packing (squared-off bottoms) via the fallback script.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetTileArea → int?
Optional preferred rendered tile area in grid cells.
final
tiles → List<ArcaneGalleryTile>
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