SmoothCard.angular constructor
const
SmoothCard.angular({ - required Widget child,
- Color? color,
- EdgeInsetsGeometry? margin = const EdgeInsetsDirectional.symmetric(horizontal: SMALL_SPACE, vertical: VERY_SMALL_SPACE),
- EdgeInsetsGeometry? padding = const EdgeInsetsDirectional.all(5.0),
- double elevation = 8.0,
- Color? elevationColor,
- bool ignoreDefaultSemantics = false,
- Clip? clipBehavior,
})
Implementation
const SmoothCard.angular({
required this.child,
this.color,
this.margin = const EdgeInsetsDirectional.symmetric(
horizontal: SMALL_SPACE,
vertical: VERY_SMALL_SPACE,
),
this.padding = const EdgeInsetsDirectional.all(5.0),
this.elevation = 8.0,
this.elevationColor,
this.ignoreDefaultSemantics = false,
this.clipBehavior,
}) : borderRadius = ANGULAR_BORDER_RADIUS;