PipOptions class
Picture in Picture options.
Constructors
- PipOptions.new({bool? autoEnterEnabled, int? aspectRatioX, int? aspectRatioY, int? sourceRectHintLeft, int? sourceRectHintTop, int? sourceRectHintRight, int? sourceRectHintBottom, bool? seamlessResizeEnabled, bool? useExternalStateMonitor, int? externalStateMonitorInterval, int? sourceContentView, int? contentView, int? preferredContentWidth, int? preferredContentHeight, int? controlStyle})
-
const
Properties
- aspectRatioX → int?
-
android only
The width of the aspect ratio.
final
- aspectRatioY → int?
-
The height of the aspect ratio.
final
- autoEnterEnabled → bool?
-
Whether Picture in Picture can auto enter.
final
- contentView → int?
-
after setup, the content view will be added to the pip view
user should be responsible for the rendering of the content view.
final
- controlStyle → int?
-
The control style of the content view.
final
- externalStateMonitorInterval → int?
-
The interval of the external state monitor.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- preferredContentHeight → int?
-
The preferred height of the content view.
final
- preferredContentWidth → int?
-
The preferred width of the content view.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seamlessResizeEnabled → bool?
-
Whether to enable seamless resize.
final
- sourceContentView → int?
-
ios only
The source content view.
final
- sourceRectHintBottom → int?
-
The bottom of the source rect hint.
final
- sourceRectHintLeft → int?
-
The left of the source rect hint.
final
- sourceRectHintRight → int?
-
The right of the source rect hint.
final
- sourceRectHintTop → int?
-
The top of the source rect hint.
final
- useExternalStateMonitor → bool?
-
Whether to use external state monitor to detect the Picture in Picture state.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDictionary(
) → Map< String, dynamic> - Convert the options to a dictionary.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited