playdart 1.0.0

  • Readme
  • Changelog
  • Installing
  • 47

A sample command-line application.

Created from templates made available by Stagehand under a BSD-style license.

1.0.0 #

  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

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


dependencies:
  playdart: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or 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:playdart/censoringwords.dart';
import 'package:playdart/combinearray.dart';
import 'package:playdart/countword.dart';
import 'package:playdart/csvandobject.dart';
import 'package:playdart/leapyeardet.dart';
import 'package:playdart/palindrome.dart';
import 'package:playdart/playwithnum.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
47
Learn more about scoring.

We analyzed this package on Apr 4, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6

Health issues and suggestions

Document public APIs. (-1 points)

21 out of 21 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 bin/main.dart. (-0.50 points)

Analysis of bin/main.dart reported 1 hint:

line 11 col 16: The value of the local variable 'result' isn't used.

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

Analysis of lib/countword.dart reported 1 hint:

line 11 col 16: The value of the local variable 'result' isn't used.

Format lib/censoringwords.dart.

Run dartfmt to format lib/censoringwords.dart.

Fix additional 5 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/combinearray.dart (Run dartfmt to format lib/combinearray.dart.)
  • lib/csvandobject.dart (Run dartfmt to format lib/csvandobject.dart.)
  • lib/leapyeardet.dart (Run dartfmt to format lib/leapyeardet.dart.)
  • lib/palindrome.dart (Run dartfmt to format lib/palindrome.dart.)
  • lib/playwithnum.dart (Run dartfmt to format lib/playwithnum.dart.)

Maintenance suggestions

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 playdart.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.5.0 <3.0.0
Dev dependencies
pedantic ^1.8.0
test ^1.6.0