only method
T
only({
- ColorDto? color,
- GradientDto<
Gradient> ? gradient, - List<
BoxShadowDto> ? shadows, - ShapeBorderDto<
ShapeBorder> ? shape,
override
Implementation
@override
T only({
ColorDto? color,
GradientDto? gradient,
List<BoxShadowDto>? shadows,
ShapeBorderDto? shape,
}) {
return builder(
ShapeDecorationDto(
color: color,
shape: shape,
gradient: gradient,
shadows: shadows,
),
);
}