DriverOffset class Null safety

An immutable 2D floating-point offset used by Flutter Driver.

Annotations

Constructors

DriverOffset(double dx, double dy)
Creates an offset.
const

Properties

dx double
The x component of the offset.
final
dy double
The y component of the offset.
final
hashCode int
The hash code for this object.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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