WheelBlockImage constructor

const WheelBlockImage(
  1. ImageProvider<Object> image, {
  2. LuckyLength? top,
  3. LuckyLength? left,
  4. LuckyLength? width,
  5. LuckyLength? height,
  6. LuckyImageFormatter? formatter,
  7. double? borderRadius,
  8. double opacity = 1,
  9. ImageProvider<Object>? fallback,
  10. String? semanticLabel,
  11. bool rotate = false,
})

创建图片;rotate 默认关闭,其余参数与 LuckyImage 相同。

Implementation

const WheelBlockImage(super.image,
    {super.top,
    super.left,
    super.width,
    super.height,
    super.formatter,
    super.borderRadius,
    super.opacity,
    super.fallback,
    super.semanticLabel,
    this.rotate = false});