CardProps class
Card component properties.
Constructors
-
CardProps({Widget? child, List<
Widget> ? children, CardVariant variant = CardVariant.elevated, EdgeInsets? padding, BorderRadius? borderRadius, String? backgroundColor, bool fillWidth = false, void onTap()?, String? href, String? target, String? rel, String? classes, Map<String, String> ? attributes, String? ariaLabel, ArcaneStyleData? styles, ArcaneDecoration? decoration}) -
const
Properties
- ariaLabel → String?
-
Optional accessible name for the root element.
final
-
attributes
→ Map<
String, String> ? -
Additional non-structural attributes for the root element.
final
- backgroundColor → String?
-
final
- borderRadius → BorderRadius?
-
final
- child → Widget?
-
final
-
children
→ List<
Widget> ? -
final
- classes → String?
-
Additional classes appended after the theme and interaction classes.
final
- decoration → ArcaneDecoration?
-
Semantic, theme-interpreted decoration (elevation intent + theme-specific
fields honored-or-ignored per theme).
final
- fillWidth → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- href → String?
-
Navigation semantics for a native anchor card. Mutually exclusive with
onTap.
final
- onTap → void Function()?
-
Callback semantics for a native button card. Mutually exclusive with
href.
final
- padding → EdgeInsets?
-
final
- rel → String?
-
Anchor relationship tokens.
_blanklinks gain any missingnoopenerandnoreferrertokens during rendering.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styles → ArcaneStyleData?
-
Literal, theme-permeable style override (always applied, wins over theme).
final
- target → String?
-
Anchor browsing context, such as
_blank.final - variant → CardVariant
-
final
Methods
-
copyWith(
{Widget? child, List< Widget> ? children, CardVariant? variant, EdgeInsets? padding, BorderRadius? borderRadius, String? backgroundColor, bool? fillWidth, void onTap()?, String? href, bool clearInteraction = false, String? target, String? rel, String? classes, Map<String, String> ? attributes, String? ariaLabel, ArcaneStyleData? styles, ArcaneDecoration? decoration}) → CardProps -
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