ContentModeConfig class

视角边界的缩放模式和缩放比例。

Constructors

ContentModeConfig({num scale = 1, num space = 0, String mode = ScaleMode.scale})

Properties

hashCode int
The hash code for this object.
no setterinherited
mode String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale num
视角边界的缩放比例
final
space num
四周填充的空白空间,单位为像素
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited