OudsActionCard constructor
- Key? key,
- required String semanticsLabel,
- required VoidCallback? onPressed,
- required Widget child,
- OudsCardStyle style = OudsCardStyle.filled,
- bool enabled = true,
- bool backgroundColor = true,
- bool divider = false,
- OudsCardLoader? loader,
- OudsSkeleton? skeleton,
Creates a single-action card with a localized accessible name.
Implementation
const OudsActionCard({
super.key,
required this.semanticsLabel,
required this.onPressed,
required this.child,
this.style = OudsCardStyle.filled,
this.enabled = true,
this.backgroundColor = true,
this.divider = false,
this.loader,
this.skeleton,
}) : assert(semanticsLabel != '');