IosScale enum

Scales are set according to latest Apple guidelines on 21/10/2024 for iPhone.

Inheritance
Available extensions

Values

oneX → const IosScale
const IosScale(width: 320, height: 480, fileEndWith: '', scale: '1x')
twoX → const IosScale
const IosScale(width: 828, height: 1792, fileEndWith: '@2x', scale: '2x')
threeX → const IosScale
const IosScale(width: 1320, height: 2868, fileEndWith: '@3x', scale: '3x')

Properties

fileEndWith String
final
hashCode int
The hash code for this object.
no setterinherited
height double
final
index int
A numeric identifier for the enumerated value.
no setterinherited
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
scale String
final
width 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<IosScale>
A constant List of the values in this enum, in order of their declaration.