ZegoEffectsScaleMode enum Null safety
The scaling mode of the effect plugin.
Constructors
- ZegoEffectsScaleMode()
-
const
Values
- AspectFit → const ZegoEffectsScaleMode
-
Scale proportionally, maintain the original aspect ratio, do not crop, black bars may appear.
- AspectFill → const ZegoEffectsScaleMode
-
Scale proportionally, maintain the original aspect ratio, crop excess parts, fill the container.
- ScaleToFill → const ZegoEffectsScaleMode
-
Scale to fill, do not maintain the original aspect ratio, the image may be stretched or compressed.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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<
ZegoEffectsScaleMode> -
A constant List of the values in this enum, in order of their declaration.
[AspectFit, AspectFill, ScaleToFill]