ShapeDecorationDto constructor

const ShapeDecorationDto({
  1. ColorDto? color,
  2. ShapeBorderDto<ShapeBorder>? shape,
  3. GradientDto<Gradient>? gradient,
  4. List<BoxShadowDto>? shadows,
})

Implementation

const ShapeDecorationDto({
  super.color,
  this.shape,
  super.gradient,
  List<BoxShadowDto>? shadows,
}) : super(boxShadow: shadows);