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