FlutterAudioToolkitPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterAudioToolkitPlatform
Implementers

Constructors

FlutterAudioToolkitPlatform.new()
Constructs a FlutterAudioToolkitPlatform.

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
extractWaveform({required String inputPath, int samplesPerSecond = 100, ProgressCallback? onProgress}) Future<WaveformData>
Extracts waveform data from an audio file
getAudioInfo(String inputPath) Future<Map<String, dynamic>>
Gets audio file information without conversion
getPlatformVersion() Future<String?>
isFormatSupported(String inputPath) Future<bool>
Checks if the given audio format is supported for conversion
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

Operators

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

Static Properties

instance FlutterAudioToolkitPlatform
The default instance of FlutterAudioToolkitPlatform to use.
getter/setter pair