FeatureCardProps class

Feature card component properties.

Constructors

FeatureCardProps({required String title, required String description, ArcaneGlyph? icon, String? href, void onTap()?, bool horizontal = false, String? accentColor, String? ctaText, bool isExternal = false, bool showCta = false, ArcaneStyleData? styles, ArcaneDecoration? decoration})
const
FeatureCardProps.accented({required String title, required String description, required ArcaneGlyph? icon, required String accentColor, String? href, void onTap()?, String? ctaText, bool isExternal = false, ArcaneStyleData? styles, ArcaneDecoration? decoration})
Creates a feature card with accent color styling and CTA button. This is the style used for InfoTile-like cards.
const

Properties

accentColor → String?
Custom accent color for theming (CSS color value). When set, applies accent styling to the icon container and full border.
final
ctaText → String?
Custom CTA button text. Defaults to 'Learn More' or 'View Docs' for external.
final
decoration → ArcaneDecoration?
Semantic, theme-interpreted decoration (elevation + theme-specific fields).
final
description → String
final
hashCode → int
The hash code for this object.
no setterinherited
horizontal → bool
final
href → String?
final
icon → ArcaneGlyph?
final
isExternal → bool
Whether the link opens in a new tab (external link).
final
onTap → void Function()?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showCta → bool
Whether to show CTA button at the bottom.
final
styles → ArcaneStyleData?
Literal, theme-permeable style override (always applied, wins over theme).
final
title → String
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