cosmic_frontmatter 1.0.3 copy "cosmic_frontmatter: ^1.0.3" to clipboard
cosmic_frontmatter: ^1.0.3 copied to clipboard

Parse frontmatter from a YAML file. Use this along-side a markdown plugin such as flutter_markdown.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add cosmic_frontmatter

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  cosmic_frontmatter: ^1.0.3

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

Import it

Now in your Dart code, you can use:

import 'package:cosmic_frontmatter/cosmic_frontmatter.dart';
6
likes
130
points
131
downloads

Publisher

unverified uploader

Weekly Downloads

Parse frontmatter from a YAML file. Use this along-side a markdown plugin such as flutter_markdown.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, freezed_annotation, json_annotation, yaml

More

Packages that depend on cosmic_frontmatter