VideoItemConfig class
Constructors
- VideoItemConfig.new({bool loop = true, bool autoPlayNextVideo = false, required Widget itemLoadingWidget, double? customAspectRatio})
-
const
Properties
- autoPlayNextVideo → bool
-
In case: auto play next video when current video is ended
final
- customAspectRatio → double?
-
In case: use to change aspect ratio
Default: video ratio
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemLoadingWidget → Widget
-
final
- loop → bool
-
In case: use to loop the video
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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