id3_codec 0.0.1 id3_codec: ^0.0.1 copied to clipboard
An ID3 tag information parsing library based on dart, which supports the operation of Flutter on all platforms.
id3_codec #
An ID3 tag information parsing library based on dart, which supports the operation of Flutter
on all platforms.
Support ID3 version #
- ✅ v1
- ✅ v1.1
- ✅ v2.2
- ✅ v2.3
- ✅ v2.4
How to use #
read by async.
final data = await rootBundle.load("assets/song1.mp3");
final decoder = ID3Decoder(data.buffer.asUint8List());
decoder.decodeAsync().then((metadata) {
debugPrint(metadata.toString());
});
read by sync.
final data = await rootBundle.load("assets/song1.mp3");
final decoder = ID3Decoder(data.buffer.asUint8List());
final metadata = decoder.decodeSync();
debugPrint(metadata.toString());