DVDisplayScaling class
How Dartvel sizes the whole interface for the screen.
DVDisplayScaling.auto (the default) leaves phones, tablets and desktops alone, lays a television or a 4K signage panel out as a 1280 x 720 screen drawn larger, and lays a watch out as a 320-wide screen drawn smaller. DVDisplayScaling.off draws everything at 1; DVDisplayScaling.fixed draws at one factor everywhere.
Set it in pubspec.yaml (dartvel: display: scaling: auto | off | 1.5)
or in code with DV.Platform.screen.scaling = ....
- Annotations
Constructors
- DVDisplayScaling.auto()
-
const
- DVDisplayScaling.fixed(double factor)
-
const
- DVDisplayScaling.off()
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override