ResponsiveCard constructor

const ResponsiveCard({
  1. Key? key,
  2. Color? color,
  3. Color? shadowColor,
  4. Color? surfaceTintColor,
  5. double? elevation,
  6. ShapeBorder? shape,
  7. bool borderOnForeground = true,
  8. Clip? clipBehavior,
  9. Widget? child,
  10. bool semanticContainer = true,
})

This card adds padding around the Card to fit the sizes

Implementation

const ResponsiveCard({
  super.key,
  super.color,
  super.shadowColor,
  super.surfaceTintColor,
  super.elevation,
  super.shape,
  super.borderOnForeground = true,
  super.clipBehavior,
  super.child,
  super.semanticContainer = true,
}) : super(margin: EdgeInsets.zero);