Decoration.shape constructor Null safety
- {Color? color,
- DecorationImage? image,
- Gradient? gradient,
- List<
BoxShadow> ? shadows, - required ShapeBorder shape}
Implementation
const factory Decoration.shape({
Color? color,
DecorationImage? image,
Gradient? gradient,
List<BoxShadow>? shadows,
required ShapeBorder shape,
}) = ShapeDecoration;