ImageParams class

Annotations
  • @freezed

Constructors

ImageParams({double? width, double? height, double? size, @JsonKey(toJson: null, fromJson: null, includeFromJson: false, includeToJson: false) BoxFit? fit, @JsonKey(toJson: null, fromJson: null, includeFromJson: false, includeToJson: false) BorderRadius? borderRadius, @JsonKey(toJson: null, fromJson: null, includeFromJson: false, includeToJson: false) BoxShape? shape, @Default(true) bool enableMemoryCache, String? heroTag, @Default(false) bool isSelected, @JsonKey(toJson: null, fromJson: null, includeFromJson: false, includeToJson: false) Widget? errorWidget})
const
factory
ImageParams.fromJson(Map<String, dynamic> json)
factory

Properties

borderRadius BorderRadius?
no setterinherited
copyWith → $ImageParamsCopyWith<ImageParams>
no setterinherited
enableMemoryCache bool
no setterinherited
errorWidget Widget?
no setterinherited
fit BoxFit?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
no setterinherited
heroTag String?
no setterinherited
isSelected bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape BoxShape?
no setterinherited
size double?
no setterinherited
width double?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited