Rectangle class Null safety

The position and size of the watermark image.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Rectangle({int? x, int? y, int? width, int? height})
Constructs a Rectangle

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height int?
The height (pixels) of the watermark image.
@JsonKey(includeIfNull: false), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width int?
The width (pixels) of the watermark image.
@JsonKey(includeIfNull: false), read / write
x int?
The horizontal offset from the top-left corner.
@JsonKey(includeIfNull: false), read / write
y int?
The vertical offset from the top-left corner.
@JsonKey(includeIfNull: false), read / write

Methods

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

Operators

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