VideoEditorController class
- Inheritance
-
- Object
- ChangeNotifier
- VideoEditorController
Constructors
- VideoEditorController.file(File file, {TrimSliderStyle? trimStyle})
- Constructs a VideoEditorController that edits a video from a file.
Properties
- file → File
-
Video from File.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- initialized → bool
-
Get the
VideoPlayerController.value.initialized
no setter - isTrimming ↔ bool
-
getter/setter pair
- maxCrop ↔ Offset
-
The BottomRight Offset (Range is
Offset(0.0, 0.0)
toOffset(1.0, 1.0)
).getter/setter pair - maxTrim ↔ double
-
The MaxTrim (Range is
0.0
to1.0
).getter/setter pair - minCrop ↔ Offset
-
The TopLeft Offset (Range is
Offset(0.0, 0.0)
toOffset(1.0, 1.0)
).getter/setter pair - minTrim ↔ double
-
The MinTrim (Range is
0.0
to1.0
).getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trimPosition → double
-
Get the VideoPosition (Range is
0.0
to1.0
).no setter - trimStyle → TrimSliderStyle
-
Style for TrimSlider
final
- video → VideoPlayerController
-
Get the
VideoPlayerController
no setter - videoDuration → Duration
-
Get the
VideoPlayerController.value.duration
no setter - videoPosition → Duration
-
Get the
VideoPlayerController.value.position
no setter
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → Future< void> -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
override
-
initialize(
) → Future< void> - Attempts to open the given File and load metadata about the video.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited