Size class final

Describes the width and height of an object.

Implemented types

Constructors

Size(double width, double height)
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
height → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNative({Allocator allocator = malloc}) → Pointer<NativeSize>
Copy the T to unmanaged memory and return a pointer to the memory location.
override
toString() → String
A string representation of this object.
inherited

Operators

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