shapeDecorated method
DecoratedBox
shapeDecorated({
- required ShapeBorder shape,
- Color? color,
- DecorationImage? image,
- Gradient? gradient,
- List<
BoxShadow> ? shadows,
Implementation
DecoratedBox shapeDecorated({required ShapeBorder shape, Color? color, DecorationImage? image, Gradient? gradient, List<BoxShadow>? shadows}) {
return DecoratedBox(child: this, decoration: ShapeDecoration(shape: shape, color: color, image: image, gradient: gradient, shadows: shadows));
}