Card constructor Null safety

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

Implementation

const factory Card(
    {final Key? key,
    final Color? color,
    final Color? shadowColor,
    final Color? surfaceTintColor,
    final double? elevation,
    final ShapeBorder? shape,
    final bool borderOnForeground,
    final EdgeInsets? margin,
    final Clip? clipBehavior,
    final Widget? child,
    final bool semanticContainer}) = _$Card;