DriverOffset class Null safety

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

Annotations
  • @immutable

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-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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