CTACardProps class

CTA (Call-to-Action) card component properties.

A card with a dashed border, centered content, and a call-to-action button. Used for "request" cards, "suggest" cards, or any action-oriented card.

Constructors

CTACardProps({Widget? icon, required String title, String? description, required String ctaText, String? href, void onTap()?, String height = '420px', int? animationDelayMs, bool showHoverEffects = true})
const

Properties

animationDelayMs int?
Animation delay in milliseconds for staggered grid animations.
final
ctaText String
CTA button text.
final
description String?
Description text below the title.
final
hashCode int
The hash code for this object.
no setterinherited
height String
Custom height for the card.
final
href String?
Link destination (for anchor-based CTAs).
final
icon Widget?
Icon to display at the top of the card.
final
onTap → void Function()?
Callback for click events.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showHoverEffects bool
Whether to show hover effects.
final
title String
Main title/heading text.
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