adhara_markdown 0.1.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 72

adhara_markdown #

Minimalistic, highly customizable markdown editor and viewer by adhara

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

[0.1.0] - 08 Feb, 2019

  • Minimalistic, highly customizable, regexp based markdown editor and viewer by adhara


import 'package:flutter/material.dart';
import 'package:adhara_markdown/adhara_markdown.dart';

main() => runApp(App());

class App extends StatelessWidget{

  Widget build(BuildContext context) {
    return MaterialApp(
      home: HomePage()


class HomePage extends StatefulWidget{

  State<StatefulWidget> createState() => HomePageState();


class HomePageState extends State<HomePage>{

  Widget build(BuildContext context) {
    return MarkdownViewer(
      content: "Hello *World*, _How ya doin!_",
      formatTypes: [


Use this package as a library

1. Depend on it

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

  adhara_markdown: ^0.1.0

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:adhara_markdown/adhara_markdown.dart';
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.

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

  • Dart: 2.5.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.4


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-0.51 points)

119 out of 121 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix lib/utils.dart. (-0.50 points)

Analysis of lib/utils.dart reported 1 hint:

line 8 col 9: The class 'Future' wasn't exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (url_launcher).


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
url_launcher ^4.2.0 4.2.0+3 5.1.6
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies