RenderSizeUnit enum

Defines different units in which the size is described.

Values

pixels → const RenderSizeUnit

Size expressed in physical pixels on the device screen.

densityIndependentPixels → const RenderSizeUnit

Size expressed in device independent pixels, meaning that on devices with different display resolutions and sizes it will represent approximately the same physical (in millimeters, inches, etc.) size.

meters → const RenderSizeUnit

Size expressed in meters, meaning it will stay constant relative to map content and change on the screen as the map is zoomed in and out.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<RenderSizeUnit>
A constant List of the values in this enum, in order of their declaration.