mml_dart 1.0.0

  • README.md
  • Installing
  • Versions
  • 30

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:


dependencies:
  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
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
30
Learn more about scoring.

We analyzed this package on Oct 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.4

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:mml_dart/mml_dart.dart.

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

Maintain CHANGELOG.md. (-20 points)

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

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

For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.

Package is getting outdated. (-87.95 points)

The package was released 98 weeks ago.

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.