FeatureCardProps class
Feature card component properties.
Constructors
- FeatureCardProps({required String title, required String description, Widget? icon, String? href, void onTap()?, bool showArrow = false, bool horizontal = false, String? accentColor, String? ctaText, bool isExternal = false, bool showCta = false})
-
const
- FeatureCardProps.accented({required String title, required String description, required Widget? icon, required String accentColor, String? href, void onTap()?, String? ctaText, bool isExternal = false})
-
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 icon container and gradient border.
final
- ctaText → String?
-
Custom CTA button text. Defaults to 'Learn More' or 'View Docs' for external.
final
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- horizontal → bool
-
final
- href → String?
-
final
- icon → Widget?
-
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
- showArrow → bool
-
final
- showCta → bool
-
Whether to show CTA button at the bottom.
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