ImageBean constructor

ImageBean({
  1. AssetType? type,
  2. String? originPath,
  3. String? middlePath,
  4. String? thumbPath,
  5. int? originalWidth,
  6. int? originalHeight,
  7. AssetEntity? entity,
  8. int? pathType,
  9. String? demoPath,
  10. String? previewDemoPath,
  11. String? tag,
})

Implementation

ImageBean({AssetType? type, this.originPath, this.middlePath, this.thumbPath, this.originalWidth, this.originalHeight, this.entity, int? pathType, String? demoPath, String? previewDemoPath, String? tag})
    : super(type: type ?? AssetType.image, tag: tag ?? originPath ?? "", pathType: pathType ?? 0, demoPath: demoPath, preViewDemo: previewDemoPath);