dart_tags
0.4.1, released 3 years ago by dart.tools
Parse ID3 tags from audio files in pure Dart
What it does
dart_tags provides a pure Dart library to read ID3 tags from audio files. It supports multiple ID3 versions and can be used in Flutter, web, and VM projects.
AI-written summary of version 0.4.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- Need to read metadata from MP3 files in a Flutter or Dart application
- Working in a web or server environment where native Dart code is preferred
Skip it when
- Need to write or modify ID3 tags
- Require advanced tag manipulation beyond reading
Strengths
- Pure Dart implementation, no native dependencies
- Null safety support
- Cross‑platform (Android, iOS, web, desktop)
- Supports multiple ID3 versions
Weaknesses
- Only reads tags, does not support writing
- Limited tag set support compared to full editors
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
import 'dart:io';
import 'package:dart_tags/dart_tags.dart';
void main(List<String> args) {
final tp = TagProcessor();
final f = File(args[0]);
tp.getTagsFromByteArray(f.readAsBytes()).then((l) => l.forEach((f) => print(f)));
}Alternatives
Packages that do the same job and could replace dart_tags.
- loading_indicator
A collection loading animations written in pure dart. Out of the box, no extra dependency.
84Compare - brotli
Pure Dart Brotli decoder
50Compare - icalendar_parser
Package to parse iCalendar (.ics) files written in pure Dart.
50Compare - nepali_utils
Pure Dart collection of Nepali utilities including Bikram Sambat date conversion and formatting.
56Compare
Works with
Packages commonly used together with dart_tags: ones it builds on, ones built on it, and its own family.