ImageParams constructor
      const
      ImageParams({ 
    
    
- double? width,
- double? height,
- double? size,
- @igFreezedJson BoxFit? fit,
- @igFreezedJson BorderRadius? borderRadius,
- @igFreezedJson BoxShape? shape,
- @Default.new(true) bool enableMemoryCache,
- String? heroTag,
- @Default.new(false) bool isSelected,
- @igFreezedJson Widget? errorWidget,
- @igFreezedJson VoidCallback? onTap,
- @igFreezedJson Color? color,
- @Default.new(true) bool clearMemoryCacheIfFailed,
- @Default.new(false) bool clearMemoryCacheWhenDispose,
- @Default.new(true) bool gaplessPlayback,
- @igFreezedJson BlendMode? colorBlendMode,
- @Default.new(FilterQuality.medium) FilterQuality filterQuality,
- double? scale,
- @Default.new({}) Map<String, String> headers,
- @Default.new(true) bool cache,
- @Default.new(3) int retries,
- @igFreezedJson Duration? timeLimit,
- @igFreezedJson @Default.new(Duration(seconds: 3)) Duration timeRetry,
- @igFreezedJson CancellationToken? cancelToken,
- String? cacheKey,
- @Default.new(false) bool printError,
- @Default.new(true) bool cacheRawData,
- String? imageCacheName,
- @igFreezedJson Duration? cacheMaxAge,
- int? cacheWidth,
- int? cacheHeight,
- double? compressionRatio,
- int? maxBytes,
- String? package,
- @igFreezedJson AssetBundle? bundle,
- @Doc(message: '自定义完成小部件') @igFreezedJson CustomCompletedWidget? customCompletedWidget,
- @igFreezedJson Widget? customLoadingWidget,
- @igFreezedJson InitEditorConfigHandler? initEditorConfigHandler,
- @igFreezedJson Key? extendedImageEditorKey,
- @igFreezedJson ExtendedImageMode? mode,
Implementation
const factory ImageParams(
    {double? width,
    double? height,
    double? size,
    @igFreezedJson BoxFit? fit,
    @igFreezedJson BorderRadius? borderRadius,
    @igFreezedJson BoxShape? shape,
    @Default(true) bool enableMemoryCache,
    String? heroTag,
    @Default(false) bool isSelected,
    @igFreezedJson Widget? errorWidget,
    @igFreezedJson VoidCallback? onTap,
    @igFreezedJson Color? color,
    @Default(true) bool clearMemoryCacheIfFailed,
    @Default(false) bool clearMemoryCacheWhenDispose,
    @Default(true) bool gaplessPlayback,
    @igFreezedJson BlendMode? colorBlendMode,
    @Default(FilterQuality.medium) FilterQuality filterQuality,
    //---net
    double? scale,
    @Default({}) Map<String, String> headers,
    @Default(true) bool cache,
    @Default(3) int retries,
    @igFreezedJson Duration? timeLimit,
    @igFreezedJson @Default(Duration(seconds: 3)) Duration timeRetry,
    @igFreezedJson CancellationToken? cancelToken,
    String? cacheKey,
    @Default(false) bool printError,
    @Default(true) bool cacheRawData,
    String? imageCacheName,
    @igFreezedJson Duration? cacheMaxAge,
    int? cacheWidth,
    int? cacheHeight,
    double? compressionRatio,
    int? maxBytes,
    String? package,
    @igFreezedJson AssetBundle? bundle,
    @Doc(message: '自定义完成小部件')
    @igFreezedJson
    CustomCompletedWidget? customCompletedWidget,
    @igFreezedJson Widget? customLoadingWidget,
    @igFreezedJson InitEditorConfigHandler? initEditorConfigHandler,
    @igFreezedJson Key? extendedImageEditorKey,
    @igFreezedJson ExtendedImageMode? mode}) = _ImageParams;