DiveCoreAspectRatio class
Aspect ratios.
Constructors
- DiveCoreAspectRatio(String sRatio, double dRatio)
-
const
Properties
- dRatio → double
-
Ratio as a number.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
read-only
- ratio → double
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sRatio → String
-
Ratio as text.
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.read-only - text → String
-
read-only
- toDouble → double
-
read-only
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
- HD → const DiveCoreAspectRatio
-
HD TV aspect ratio
r16_9
- IMAX_DIGITAL → const DiveCoreAspectRatio
-
IMAX Digital aspect ratio
r19_10
- IMAX_FILM → const DiveCoreAspectRatio
-
IMAX Film aspect ratio
r14_10
- MOVIE → const DiveCoreAspectRatio
-
Movie theater aspect ratio
r21_9
- r1_1 → const DiveCoreAspectRatio
-
Square aspect ratio
DiveCoreAspectRatio("1:1", 1 / 1)
- r4_3 → const DiveCoreAspectRatio
-
SD TV aspect ratio
DiveCoreAspectRatio("4:3", 4 / 3)
- r14_10 → const DiveCoreAspectRatio
-
IMAX Film aspect ratio
DiveCoreAspectRatio("14:10", 14 / 10)
- r16_9 → const DiveCoreAspectRatio
-
HD TV aspect ratio
DiveCoreAspectRatio("16:9", 16 / 9)
- r16_10 → const DiveCoreAspectRatio
-
Old widescreen aspect ratio
DiveCoreAspectRatio("16:10", 16 / 10)
- r19_10 → const DiveCoreAspectRatio
-
IMAX Digital aspect ratio
DiveCoreAspectRatio("19:10", 19 / 10)
- r21_9 → const DiveCoreAspectRatio
-
Movie theater aspect ratio
DiveCoreAspectRatio("21:9", 21 / 9)
- SD → const DiveCoreAspectRatio
-
SD TV aspect ratio
r4_3