ViewportPreset enum

Predefined viewport presets for quick selection.

Inheritance
Available extensions

Values

australia → const ViewportPreset
const ViewportPreset('Australia', -25.2744, 133.7751, 4.0)
sydney → const ViewportPreset
const ViewportPreset('Sydney', -33.8688, 151.2093, 11.0)
melbourne → const ViewportPreset
const ViewportPreset('Melbourne', -37.8136, 144.9631, 11.0)
brisbane → const ViewportPreset
const ViewportPreset('Brisbane', -27.4698, 153.0251, 11.0)
perth → const ViewportPreset
const ViewportPreset('Perth', -31.9505, 115.8605, 11.0)
adelaide → const ViewportPreset
const ViewportPreset('Adelaide', -34.9285, 138.6007, 11.0)
darwin → const ViewportPreset
const ViewportPreset('Darwin', -12.4634, 130.8456, 11.0)
hobart → const ViewportPreset
const ViewportPreset('Hobart', -42.8821, 147.3272, 11.0)
canberra → const ViewportPreset
const ViewportPreset('Canberra', -35.2809, 149.1300, 11.0)

Properties

displayName → String
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
lat → double
final
lng → double
final
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
zoom → double
final

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<ViewportPreset>
A constant List of the values in this enum, in order of their declaration.