LuckyImageRequest constructor

const LuckyImageRequest({
  1. required LuckyImageSlot slot,
  2. required LuckyImage image,
  3. required ImageProvider<Object> provider,
  4. double? decodeLogicalWidth,
  5. double? decodeLogicalHeight,
})

创建配置,未指定的可选字段使用声明的默认值。

Implementation

const LuckyImageRequest(
    {required this.slot,
    required this.image,
    required this.provider,
    this.decodeLogicalWidth,
    this.decodeLogicalHeight});