Video class
Video is the Type of Video
final Video fileVideo = Video.file('Path to the video'); // Video form files (local storage)
final Video assetsVideo = Video.assets('Path to the video'); // Video from assets
final Video networkVideo = Video.network('Video Url'); // Video from network
Need to pass in the controller for playing a video
Constructors
- Video.assets(String video)
- Can be used For only render Video from assets
- Video.file(String video)
- Can be used For only render Video from local storage
- Video.network(String video)
- Can be used For only render Video from Network
Properties
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