pro_video_editor library
Classes
- AudioExtractConfigs
- Configuration for extracting audio from a video.
- AudioWaveform
- A widget that displays an audio waveform visualization.
- ColorFilter
- A model representing a color filter with timing information.
- EditorLayerImage
- A model that encapsulates various ways to load and represent an image.
- EditorVideo
- A model that encapsulates various ways to load and represent a video.
- ExportTransform
- Represents a set of transformations to apply during video export.
- GpsCoordinates
- Represents GPS coordinates with latitude and longitude.
- ImageLayer
- A model representing a video overlay layer with timing information.
- KeyFramesConfigs
- Configuration model for extracting key frames from a video.
- LayerAnimation
- A single animation applied to an ImageLayer.
- NativeLogEntry
- A single log entry forwarded from the native plugin implementation.
- ProgressModel
- Model representing a progress update.
- ProVideoEditor
- Abstract platform interface for the Pro Video Editor plugin.
- SingleThumbnailConfigs
- Configuration model for extracting a single thumbnail from a video.
- ThumbnailConfigs
- Configuration model for generating video thumbnails.
- VideoAudioTrack
- A model representing an audio track with timing information.
- VideoMetadata
- A class that holds metadata information about a video.
- VideoQualityConfig
- Configuration class that defines video quality parameters.
- VideoRenderData
- A model describing settings for rendering or exporting a video.
- VideoSegment
- Represents a single video clip to be included in a video composition.
- WaveformChunk
- Represents a chunk of waveform data received during streaming.
- WaveformConfigs
- Configuration for waveform generation.
- WaveformData
- Represents waveform data extracted from an audio source.
- WaveformStyle
- Visual styling options for AudioWaveform.
Enums
- AnimationCurve
- Easing curve for animation timing.
- AnimationPhase
- Whether the animation plays at the start, end, or both ends of the layer's time range.
- AudioFormat
- Audio output formats supported for audio extraction.
- EditorImageType
- Enum representing the type of source the image was loaded from.
- EditorVideoType
- Enum representing the type of source the video was loaded from.
- LayerAnimationType
- The type of animation to apply to an image layer.
- NativeLogLevel
- Controls how much native logging the plugin emits on supported platforms.
- SlideDirection
- Slide direction for slide animations.
- ThumbnailBoxFit
- Defines how the video content should be fit within the thumbnail bounds.
- ThumbnailFormat
- Supported image formats for video thumbnails.
- ThumbnailPosition
- Position from which to extract a single thumbnail.
- VideoOutputFormat
- Supported video output formats for export.
- VideoQualityPreset
- Pre-defined video quality presets for common export scenarios.
- WaveformResolution
- Resolution presets for waveform generation.
Mixins
- TimeRangeMixin
- A mixin that provides optional start and end time fields for timeline-based elements.
Functions
-
fetchVideoAsUint8List(
String videoUrl) → Future< Uint8List> - Fetches an video from a network URL as a Uint8List.
-
fetchVideoToFile(
String videoUrl, String filePath) → Future< File> - Fetches a video from a given URL and saves it to a specified file path.
-
loadAssetVideoAsUint8List(
String assetPath) → Future< Uint8List> - Loads an video asset as a Uint8List.
-
readFileAsUint8List(
File file) → Future< Uint8List> - Reads a file as a Uint8List.
-
writeAssetVideoToFile(
String assetPath, String filePath) → Future< File> - Writes a video asset to a file on the local file system.
-
writeMemoryVideoToFile(
Uint8List bytes, String filePath) → Future< File> - Writes a video file from memory to the specified file path.
Exceptions / Errors
- AudioNoTrackException
- Exceptions thrown when no audio is found.
- RenderCanceledException
- Exceptions thrown during render operations.