SeniorCard constructor

const SeniorCard({
  1. Key? key,
  2. CardCheckboxConfig? checkboxConfig,
  3. required Widget child,
  4. bool disabled = false,
  5. CardDismissibleConfig? dismissibleConfig,
  6. double? height,
  7. CardHighLightBorder? highLightBorder,
  8. IconData? leftIcon,
  9. Color? leftIconColor,
  10. EdgeInsets? margin,
  11. VoidCallback? onTap,
  12. VoidCallback? onLongPress,
  13. bool outlined = false,
  14. EdgeInsets? padding,
  15. IconData? rightIcon,
  16. Color? rightIconColor,
  17. SeniorCardStyle? style,
  18. double? width,
  19. bool withElevation = false,
  20. 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);