Closed purelog1c closed 2 years ago
One could just do:
final audioFile =
File(p.join((await getTemporaryDirectory()).path, 'waveform.m4a'));
await audioFile.writeAsBytes((widget.file));
where widget.file
is a uInt8List.
I think I can close this issue since @purelog1c appears to no longer be interested in the issue. (Although the answer should be clear by viewing the code in the example
directory).
Is this a question on Dart's Uint8List/buffer library rather than on the capabilities of just_waveform itself?