ArcaneGalleryTile class

One tile in an ArcaneGallery. Arcane owns the themed frame, the title/meta placement, and the layout; the consumer fills the app-specific slots.

Constructors

ArcaneGalleryTile({required ArcaneGalleryMedia media, Widget? mediaChild, String? title, String? meta, String? href, void onTap()?, String? dragId, List<Widget> overlay = const <Widget>[], Widget? footer, String classes = '', Map<String, String> attributes = const <String, String>{}})
const

Properties

attributes Map<String, String>
final
classes String
final
dragId String?
Stable key used to preserve a drag offset across item rerenders.
final
Slot: a stats / actions row under the media.
final
hashCode int
The hash code for this object.
no setterinherited
href String?
Wraps the tile in an <a> when set.
final
media ArcaneGalleryMedia
Layout + default-image descriptor. Its ArcaneGalleryMedia.aspectRatio is always used; its image fields are used only when mediaChild is null.
final
mediaChild Widget?
Custom media element replacing the default <img> (e.g. a canvas or a hover-preview video). Sized by media's aspect ratio.
final
meta String?
Secondary line (author, subtitle).
final
onTap → void Function()?
final
overlay List<Widget>
Slot: corner badges rendered over the media.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
The tile caption. Rendered as the win95 window title bar; the card-style themes (shadcn, neubrutalism, neon) suppress the visible caption for a clean media-only tile and expose it via the tile's aria-label instead.
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