VideoConfig class
Constructors
- VideoConfig({bool playImmediately = true, VisibilityEnum videoVisibilityEnum = VisibilityEnum.useFullScreen, bool useSafeArea = false, dynamic onVideoControllerInitialised(VideoPlayerController videoController)?})
-
Provides the configurations for the video
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onVideoControllerInitialised → dynamic Function(VideoPlayerController videoController)?
-
Provides the callback with
VideoPlayerController
as argument on video controller initializedfinal - playImmediately → bool
-
Once video resource initialized play immediately (defaults to true)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useSafeArea → bool
-
Specifies to use safe area while displaying video on screen
final
- videoVisibilityEnum → VisibilityEnum
-
Specifies how video will be visible (defaults to VisibilityEnum.useFullScreen)
final
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