mml_dart 1.0.0

  • Installing
  • Versions
  • 0

MML - Dart

This library is designed to be used for parsing MML (Music Macro Language) Files

More will be added soon

Valid MML is based off Nullsleep's guide to MCK and the MIR MML Specs here

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  mml_dart: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:mml_dart/mml_dart.dart';
Version Uploaded Documentation Archive
1.0.0 Nov 23, 2016 Go to the documentation of mml_dart 1.0.0 Download mml_dart 1.0.0 archive
0.0.3 Nov 22, 2016 Go to the documentation of mml_dart 0.0.3 Download mml_dart 0.0.3 archive
0.0.2 Nov 18, 2016 Go to the documentation of mml_dart 0.0.2 Download mml_dart 0.0.2 archive
0.0.1 Nov 17, 2016 Go to the documentation of mml_dart 0.0.1 Download mml_dart 0.0.1 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Health suggestions

Fix lib/src/constants.dart. (-0.50 points)

Analysis of lib/src/constants.dart reported 1 hint:

line 1 col 8: Unused import: 'enums.dart'.

Format lib/mml_dart.dart.

Run dartfmt to format lib/mml_dart.dart.

Format lib/src/enums.dart.

Run dartfmt to format lib/src/enums.dart.

Fix additional 3 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/errors.dart (Run dartfmt to format lib/src/errors.dart.)
  • lib/src/parse.dart (Run dartfmt to format lib/src/parse.dart.)
  • lib/src/types.dart (Run dartfmt to format lib/src/types.dart.)

Maintenance issues and suggestions

Add SDK constraint in pubspec.yaml. (-50 points)

For information about setting SDK constraint, please see

Package is too old. (-100 points)

The package was released more than two years ago.

Maintain (-20 points)

Changelog entries help clients to follow the progress in your code.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use mml_dart.dart.