only method
T
only({
- double? width,
- double? height,
- ColorDto? color,
- ImageRepeat? repeat,
- BoxFit? fit,
- AlignmentGeometry? alignment,
- Rect? centerSlice,
- BlendMode? blendMode,
- FilterQuality? filterQuality,
- AnimatedDataDto? animated,
override
Implementation
@override
T only({
double? width,
double? height,
ColorDto? color,
ImageRepeat? repeat,
BoxFit? fit,
AlignmentGeometry? alignment,
Rect? centerSlice,
BlendMode? blendMode,
FilterQuality? filterQuality,
AnimatedDataDto? animated,
}) {
return builder(
ImageSpecAttribute(
centerSlice: centerSlice,
width: width,
height: height,
color: color,
repeat: repeat,
fit: fit,
alignment: alignment,
colorBlendMode: blendMode,
filterQuality: filterQuality,
animated: animated,
),
);
}