m4d_template 0.1.6

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 45

Material 4 Dart - Template Components #

Examples #

GitHub

Change Log for m4d_template #

Material Design 4 Dart - Template-based components

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_template: ^0.1.6

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:m4d_template/m4d_template.dart';
  
Version Uploaded Documentation Archive
0.2.9 Dec 19, 2018 Go to the documentation of m4d_template 0.2.9 Download m4d_template 0.2.9 archive
0.2.7 Dec 19, 2018 Go to the documentation of m4d_template 0.2.7 Download m4d_template 0.2.7 archive
0.2.3 Dec 6, 2018 Go to the documentation of m4d_template 0.2.3 Download m4d_template 0.2.3 archive
0.1.9 Nov 19, 2018 Go to the documentation of m4d_template 0.1.9 Download m4d_template 0.1.9 archive
0.1.6 Nov 19, 2018 Go to the documentation of m4d_template 0.1.6 Download m4d_template 0.1.6 archive
0.1.2 Nov 8, 2018 Go to the documentation of m4d_template 0.1.2 Download m4d_template 0.1.2 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
15
Health:
Code health derived from static analysis. [more]
73
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
45
Learn more about scoring.

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

  • Dart: 2.3.1
  • pana: 0.12.17

Platforms

Detected platforms: web

Primary library: package:m4d_template/m4d_template.dart with components: html, js.

Health issues and suggestions

Fix lib/template/MdlTemplateComponent.dart. (-25.38 points)

Analysis of lib/template/MdlTemplateComponent.dart failed with 1 error, 1 hint:

line 45 col 58: Undefined class 'ioc.IOCContainer'.

line 27 col 5: Prefer using /// for doc comments.

Fix lib/template/modules/EventCompiler.dart. (-1.49 points)

Analysis of lib/template/modules/EventCompiler.dart reported 3 hints:

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

line 88 col 5: Prefer using /// for doc comments.

line 140 col 24: The function 'getFunctionName' isn't used.

Fix lib/template/modules/Renderer.dart. (-0.50 points)

Analysis of lib/template/modules/Renderer.dart reported 1 hint:

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

Fix additional 3 files with analysis or formatting issues. (-0.50 points)

Additional issues in the following files:

  • lib/template/modules/TemplateRenderer.dart (1 hint)
  • lib/m4d_template.dart (Run dartfmt to format lib/m4d_template.dart.)
  • lib/template/interfaces.dart (Run dartfmt to format lib/template/interfaces.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 m4d_template.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

The package description is too short. (-10 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.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
console_log_handler ^1.0.0 1.1.6
intl ^0.15.0 0.15.8
logging >=0.11.3 <1.0.0 0.11.3+2
m4d_core >=0.1.0 <1.0.0 0.2.21
m4d_flux >=0.1.0 <1.0.0 0.1.0
path ^1.4.0 1.6.2
platform_detect ^1.3.0 1.3.5
validate ^1.0.0 1.7.0
Transitive dependencies
analyzer 0.36.3
ansicolor 1.0.2
args 1.5.1
async 2.2.0
build_cli_annotations 1.1.0
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
csslib 0.16.0
dart_style 1.2.7
front_end 0.1.18
glob 1.1.7
html 0.14.0+2
intl_translation 0.17.5
kernel 0.3.18
l10n 2.0.19
meta 1.1.7
optional 3.0.2
package_config 1.0.5
petitparser 2.3.0
pub_semver 1.4.2
source_span 1.5.5
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+10
where 4.4.0 6.3.0
yaml 2.1.15
Dev dependencies
build_runner any
build_test any
build_web_compilers any
test any