Offsets class

dart:ui Offset replacement for non flutter project

Constructors

Offsets(int dx, int dy, {MeasureUnits units = MeasureUnits.Pixel})
const

Properties

dx int
final
dy int
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
units MeasureUnits
final

Methods

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

Operators

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

Constants

zero → const Offsets