FlutterAudioToolkitWeb class

Web implementation of FlutterAudioToolkitPlatform

Provides limited audio processing capabilities for web platform. Some features are not available due to browser security and API limitations.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convertAudio({required String inputPath, required String outputPath, required AudioFormat format, int bitRate = 128, int sampleRate = 44100, ProgressCallback? onProgress}) Future<ConversionResult>
Converts an audio file to the specified format
override
extractWaveform({required String inputPath, int samplesPerSecond = 100, ProgressCallback? onProgress}) Future<WaveformData>
Extracts waveform data from an audio file
override
getAudioInfo(String inputPath) Future<Map<String, dynamic>>
Gets audio file information without conversion
override
getPlatformVersion() Future<String?>
override
isFormatSupported(String inputPath) Future<bool>
Checks if the given audio format is supported for conversion
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
trimAudio({required String inputPath, required String outputPath, required int startTimeMs, required int endTimeMs, required AudioFormat format, int bitRate = 128, int sampleRate = 44100, ProgressCallback? onProgress}) Future<ConversionResult>
Trims an audio file to the specified time range
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith(Registrar registrar) → void
Registers this class as the platform implementation for web.