SeniorCard constructor
const
SeniorCard({
- Key? key,
- CardCheckboxConfig? checkboxConfig,
- required Widget child,
- bool disabled = false,
- CardDismissibleConfig? dismissibleConfig,
- double? height,
- CardHighLightBorder? highLightBorder,
- IconData? leftIcon,
- Color? leftIconColor,
- EdgeInsets? margin,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- bool outlined = false,
- EdgeInsets? padding,
- IconData? rightIcon,
- Color? rightIconColor,
- SeniorCardStyle? style,
- double? width,
- bool withElevation = false,
- bool withQuotes = false,
Creates the SDS card component. The parameter child is required.
Implementation
const SeniorCard({
Key? key,
this.checkboxConfig,
required this.child,
this.disabled = false,
this.dismissibleConfig,
this.height,
this.highLightBorder,
this.leftIcon,
this.leftIconColor,
this.margin,
this.onTap,
this.onLongPress,
this.outlined = false,
this.padding,
this.rightIcon,
this.rightIconColor,
this.style,
this.width,
this.withElevation = false,
this.withQuotes = false,
}) : super(key: key);