SmoothCard.flat constructor
const
SmoothCard.flat({ - required Widget child,
- Color? color,
- EdgeInsetsGeometry? margin = const EdgeInsetsDirectional.only(start: SMALL_SPACE, end: SMALL_SPACE, top: VERY_SMALL_SPACE, bottom: VERY_SMALL_SPACE),
- EdgeInsetsGeometry? padding = const EdgeInsetsDirectional.all(5.0),
- double elevation = 0.0,
- BorderRadiusGeometry? borderRadius,
- bool ignoreDefaultSemantics = false,
- 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;