mango_ui 0.4.3

mango-ui #

Shared Dart libraries to be used in conjunction with the Mango Go "framework"

Use this package as a library

1. Depend on it

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


dependencies:
  mango_ui: ^0.4.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:mango_ui/bodies/app.dart';
import 'package:mango_ui/bodies/article.dart';
import 'package:mango_ui/bodies/comment.dart';
import 'package:mango_ui/bodies/header.dart';
import 'package:mango_ui/bodies/key.dart';
import 'package:mango_ui/bodies/login.dart';
import 'package:mango_ui/bodies/message.dart';
import 'package:mango_ui/bodies/portfolio.dart';
import 'package:mango_ui/bodies/profile.dart';
import 'package:mango_ui/bodies/register.dart';
import 'package:mango_ui/bodies/role.dart';
import 'package:mango_ui/bodies/sociallink.dart';
import 'package:mango_ui/bodies/up.dart';
import 'package:mango_ui/formstate.dart';
import 'package:mango_ui/keys.dart';
import 'package:mango_ui/pathlookup.dart';
import 'package:mango_ui/services/blogapi.dart';
import 'package:mango_ui/services/commentapi.dart';
import 'package:mango_ui/services/commsapi.dart';
import 'package:mango_ui/services/profileapi.dart';
import 'package:mango_ui/services/requester.dart';
import 'package:mango_ui/services/secureapi.dart';
import 'package:mango_ui/services/uploadapi.dart';
import 'package:mango_ui/services/vehicleapi.dart';
import 'package:mango_ui/services/vinapi.dart';
import 'package:mango_ui/trustvalidator.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
53
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
70
Learn more about scoring.

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

  • Dart: 2.5.1
  • pana: 0.12.21

Platforms

Detected platforms: web

Platform components identified in package: html.

Health issues and suggestions

Document public APIs. (-0.23 points)

147 out of 151 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/services/requester.dart. (-0.50 points)

Analysis of lib/services/requester.dart reported 1 hint:

line 4 col 1: Prefer using /// for doc comments.

Format lib/bodies/comment.dart.

Run dartfmt to format lib/bodies/comment.dart.

Format lib/bodies/register.dart.

Run dartfmt to format lib/bodies/register.dart.

Fix additional 3 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/bodies/sociallink.dart (Run dartfmt to format lib/bodies/sociallink.dart.)
  • lib/services/profileapi.dart (Run dartfmt to format lib/services/profileapi.dart.)
  • lib/services/secureapi.dart (Run dartfmt to format lib/services/secureapi.dart.)

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and mango_ui.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 < 3.0.0
Dev dependencies
test >=1.6.6