ScaleMode class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
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
- aspectFill → const String
- 等比例缩放视角边界,使视角边界的短边正好顶住与其垂直的屏幕的两边,以保证视角边界铺满屏幕。
- aspectFillScale → const String
- 等比例缩放视角边界,使视角边界的短边正好顶住与其垂直的屏幕的两边,以保证视角边界铺满屏幕;在此基础上再将视角边界缩放指定的倍数。
- aspectFit → const String
- 等比例缩放视角边界,使视角边界的长边正好顶住与其垂直的屏幕的两边,以保证在屏幕上完整展示视角边界。
- aspectFitScale → const String
- 等比例缩放视角边界,使视角边界的长边正好顶住与其垂直的屏幕的两边,以保证在屏幕上完整展示视角边界;在此基础上,再将视角边界缩放指定的倍数。
- aspectFitSpace → const String
- 等比例缩放视角边界,使视角边界的长边正好顶住与其垂直的屏幕的两边;在此基础上,在视角边界的四周填充指定的空白空间。
- scale → const String
-
(默认)基于设置的
scale
缩放视角边界。