Size class

Constructors

Size({required int w, required int h, required String resize})
Size.fromJson(Map<String, dynamic> json)
factory
Size.fromRawJson(String str)
factory

Properties

h int
Height in pixels of this size.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
resize String
Resizing method used to obtain this size. A value of fit means that the media was resized to fit one dimension, keeping its native aspect ratio. A value of crop means that the media was cropped in order to fit a specific resolution.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
w int
Width in pixels of this size.
getter/setter pair

Methods

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

Operators

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