m4d_spa 0.1.12

  • Readme
  • Changelog
  • Installing
  • 37

Material 4 Dart - SinglePage-Components #

Examples #

GitHub

Change Log for m4d_spa #

Material Design 4 Dart - SinglePage

Unreleased #

Bugs #

  • IOCContainer was used instead of Container 97c0257
  • Wrong description in HTML-Template cabb432
  • prettify dependency for samples was not in template 4e93fab

Docs #

v0.1 - 2018-11-22 #

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_spa: ^0.1.12

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

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

  • Dart: 2.7.1
  • pana: 0.13.5

Health suggestions

Fix lib/spa/components/MaterialInclude.dart. (-3.93 points)

Analysis of lib/spa/components/MaterialInclude.dart reported 8 hints, including:

line 24 col 28: Unnecessary new keyword.

line 27 col 59: Avoid const keyword.

line 33 col 42: Unnecessary new keyword.

line 65 col 33: Unnecessary new keyword.

line 73 col 45: Unnecessary new keyword.

Fix lib/spa/ViewFactory.dart. (-2.48 points)

Analysis of lib/spa/ViewFactory.dart reported 5 hints:

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

line 47 col 28: Unnecessary new keyword.

line 51 col 107: Use = to separate a named parameter from its default value.

line 71 col 37: Unnecessary new keyword.

line 72 col 41: Unnecessary new keyword.

Fix lib/spa/components/MaterialContent.dart. (-2.48 points)

Analysis of lib/spa/components/MaterialContent.dart reported 5 hints:

line 67 col 28: Unnecessary new keyword.

line 69 col 59: Avoid const keyword.

line 73 col 39: Use ; instead of {} for empty constructor bodies.

line 114 col 38: Unnecessary new keyword.

line 116 col 12: Unnecessary new keyword.

Fix lib/spa/MaterialContoller.dart. (-0.50 points)

Analysis of lib/spa/MaterialContoller.dart reported 1 hint:

line 36 col 28: Unnecessary new keyword.

Format lib/m4d_spa.dart.

Run dartfmt to format lib/m4d_spa.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.

Package is getting outdated. (-18.90 points)

The package was last published 62 weeks ago.

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_spa.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
console_log_handler ^1.0.0 1.1.6
dnd ^1.0.0 1.4.3
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_flux >=0.1.0 <1.0.0 0.1.0
m4d_router >=0.1.0 <1.0.0 0.2.18
m4d_template >=0.1.0 <1.0.0 0.2.9
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.3
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_directive 0.1.16
matcher 0.12.6
meta 1.1.8
node_interop 1.0.3
node_io 1.0.1+2
optional 3.1.0 4.1.0
package_config 1.9.1
path 1.6.4
pedantic 1.9.0
petitparser 2.4.0 3.0.1
platform_detect 1.4.0
pub_semver 1.4.3
quiver 2.1.2+1
source_span 1.6.0
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
uri 0.11.3+1
utf 0.9.0+5
watcher 0.9.7+13
where 4.4.0 6.6.0
yaml 2.2.0
Dev dependencies
build_runner any
build_test any
build_web_compilers any
test any