m4d_form 0.1.6

  • Readme
  • Changelog
  • Installing
  • 44

Material 4 Dart - Form #

Examples #

GitHub

Change Log for m4d_form #

Material Design 4 Dart - Dialogs

Unreleased #

Bugs #

  • Wrong description in HTML-Template 94d118f
  • _dateFormatter and _timeFormatter in example had the wrong signature 26870b7
  • Sample did not show footer e11b0c6

Refactor #

  • Renamed IOCContainer (m4d_core) to Container - breaks Dart's dependency-management-system c1d85a3

v0.1 - 2018-11-15

Docs #

This CHANGELOG.md was generated with Changelog for Dart

Use this package as a library

1. Depend on it

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


dependencies:
  m4d_form: ^0.1.6

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:m4d_form/m4d_form.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
8
Health:
Code health derived from static analysis. [more]
94
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
60
Overall:
Weighted score of the above. [more]
44
Learn more about scoring.

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

  • Dart: 2.7.0
  • pana: 0.13.4

Health suggestions

Fix lib/form/components/MaterialFormComponent.dart. (-6.31 points)

Analysis of lib/form/components/MaterialFormComponent.dart reported 13 hints, including:

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

line 72 col 28: Unnecessary new keyword.

line 75 col 65: Avoid const keyword.

line 77 col 44: Unnecessary new keyword.

line 78 col 49: Unnecessary new keyword.

Format lib/m4d_form.dart.

Run dartfmt to format lib/m4d_form.dart.

Maintenance suggestions

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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 m4d_form.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is getting outdated. (-9.86 points)

The package was last published 57 weeks ago.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
console_log_handler ^1.0.0 1.1.6
logging >=0.11.3 <1.0.0 0.11.4
m4d_components >=0.1.0 <1.0.0 0.1.31
m4d_core >=0.2.0 <1.0.0 0.2.21
m4d_directive >=0.1.0 <1.0.0 0.1.16
m4d_translate >=0.1.0 <1.0.0 0.1.6
validate ^1.0.0 1.7.0
Transitive dependencies
_fe_analyzer_shared 1.0.3
analyzer 0.39.4
ansicolor 1.0.2
args 1.5.2
async 2.4.0
build_cli_annotations 1.1.0
charcode 1.1.2
collection 1.14.12
convert 2.1.1
crypto 2.1.4
csslib 0.16.1
dart_style 1.3.3
glob 1.2.0
html 0.14.0+3
intl 0.15.8 0.16.1
intl_translation 0.17.9
js 0.6.1+1
l10n 2.0.19
m4d_flux 0.1.0
meta 1.1.8
node_interop 1.0.3
node_io 1.0.1+2
optional 3.1.0 4.0.1
package_config 1.1.0
path 1.6.4
pedantic 1.9.0
petitparser 2.4.0 3.0.0
platform_detect 1.4.0
pub_semver 1.4.2
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+13
where 4.4.0 6.5.0
yaml 2.2.0
Dev dependencies
build_runner any
build_test any
build_web_compilers any
test any