SmoothCard.flat constructor

const SmoothCard.flat({
  1. required Widget child,
  2. Color? color,
  3. EdgeInsetsGeometry? margin = const EdgeInsetsDirectional.only(start: SMALL_SPACE, end: SMALL_SPACE, top: VERY_SMALL_SPACE, bottom: VERY_SMALL_SPACE),
  4. EdgeInsetsGeometry? padding = const EdgeInsetsDirectional.all(5.0),
  5. double elevation = 0.0,
  6. BorderRadiusGeometry? borderRadius,
  7. bool ignoreDefaultSemantics = false,
  8. Clip? clipBehavior,
})

Implementation

const SmoothCard.flat({
  required this.child,
  this.color,
  this.margin = const EdgeInsetsDirectional.only(
    start: SMALL_SPACE,
    end: SMALL_SPACE,
    top: VERY_SMALL_SPACE,
    bottom: VERY_SMALL_SPACE,
  ),
  this.padding = const EdgeInsetsDirectional.all(5.0),
  this.elevation = 0.0,
  this.borderRadius,
  this.ignoreDefaultSemantics = false,
  this.clipBehavior,
}) : elevationColor = null;