GameLinkProps class
Game link (navigation tile) component properties.
Used for horizontal navigation links with icon, name, and optional badge. Features accent color theming for glows, gradients, and borders.
Constructors
- GameLinkProps({required String name, required String href, required String accentColor, String? iconUrl, Widget? icon, String? badge, bool mini = false})
-
const
- GameLinkProps.mini({required String name, required String href, required String accentColor, String? iconUrl, Widget? icon, String? badge})
-
Creates a mini (compact) game link.
const
Properties
- accentColor → String
-
Accent color for theming (CSS color value).
Used for gradient backgrounds, glows, and borders.
final
- badge → String?
-
Optional badge text (e.g., "NEW", "POPULAR").
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- href → String
-
Link destination.
final
- icon → Widget?
-
Custom icon component (alternative to iconUrl).
final
- iconUrl → String?
-
URL to the game icon image.
final
- mini → bool
-
Whether to use compact/mini sizing.
final
- name → String
-
Game name to display.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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