ImageSizeInfo class Null safety
Tracks the bytes used by a dart:ui.Image compared to the bytes needed to paint that image without scaling it.
- Annotations
 
Constructors
- ImageSizeInfo({String? source, required Size displaySize, required Size imageSize})
 - 
          Creates an object to track the backing size of a dart:ui.Image compared
to its display size on a Canvas.
            const
 
Properties
- decodedSizeInBytes → int
 - 
  The number of bytes used by the image in memory.
  read-only
 - displaySize → Size
 - 
  The size of the area the image will be rendered in.
  final
 - displaySizeInBytes → int
 - 
  The number of bytes needed to render the image without scaling it.
  read-only
 - hashCode → int
 - 
  The hash code for this object.
  read-onlyoverride
 - imageSize → Size
 - 
  The size the image has been decoded to.
  final
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  read-onlyinherited
 - source → String?
 - 
  A unique identifier for this image, for example its asset path or network
URL.
  final
 
Methods
- 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a non-existent method or property is accessed.
  inherited
 - 
  toJson(
) → Map< String, Object?>  - Returns a JSON encodable representation of this object.
 - 
  toString(
) → String  - 
  A string representation of this object.
  override
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  override