only method

  1. @override
T only({
  1. double? width,
  2. double? height,
  3. ColorDto? color,
  4. ImageRepeat? repeat,
  5. BoxFit? fit,
  6. AlignmentGeometry? alignment,
  7. Rect? centerSlice,
  8. BlendMode? blendMode,
  9. FilterQuality? filterQuality,
  10. 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,
    ),
  );
}