VideoStreamSize class
Dimensions of the active video stream, reported from the native layer when a new stream starts or the underlying frame size changes.
Use aspectRatio when sizing the Texture widget so landscape or
portrait frames aren't stretched into a hardcoded container.
Constructors
- VideoStreamSize({required int width, required int height})
-
const
Properties
- aspectRatio → double
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
final
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.
inherited