m4d_directive 0.1.16

  • Readme
  • Changelog
  • Installing
  • 26

Material 4 Dart - Directives #

Examples #

GitHub

Change Log for m4d_directive #

Material Design 4 Dart - Directives

Unreleased #

Feature #

  • SimpleDataStoreMixin sends a PropertyChangedAction d74c738
  • SimpleDataStoreMixin added 13e0350
  • Added some init-vars for SimpleValueStore 5e2bcff

Bugs #

  • Wrong description in HTML-Template 9221ac3
  • Formatter was not propperly set in DefaultSimpleDataStore f0d20a5

Docs #

  • Better log-output for DefaultSimpleDataStore acde27d

Refactor #

  • Changed 'componentHandler().run to ...uprgrade() d3dde0c

v0.1 - 2018-11-02 #

Feature #

  • Data binding / MaterialModel implemented and works 58fd197

Bugs #

  • Wrong pubspec for examples 7c0f0ad

Docs #

  • Autogen examples with Jenkins + cmdline 0a790b0
  • m4d_class-sample and m4d_attribute-sample work with SimpleValueStore 7788016

Test #

  • MaterialAttribute_test tested against wrong attribute 0f9c6ec

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_directive: ^0.1.16

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

We analyzed this package on Apr 1, 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 suggestions

Fix lib/directive/components/model/ModelObserver.dart. (-9.54 points)

Analysis of lib/directive/components/model/ModelObserver.dart reported 20 hints, including:

line 23 col 18: The value of the field '_logger' isn't used.

line 23 col 28: Unnecessary new keyword.

line 43 col 28: Unnecessary new keyword.

line 48 col 53: Unnecessary new keyword.

line 96 col 19: Unnecessary new keyword.

Fix lib/directive/components/model/ModelObserverFactory.dart. (-6.78 points)

Analysis of lib/directive/components/model/ModelObserverFactory.dart reported 14 hints, including:

line 25 col 18: The value of the field '_logger' isn't used.

line 25 col 28: Unnecessary new keyword.

line 27 col 54: Unnecessary new keyword.

line 36 col 14: Don't explicitly initialize variables to null.

line 39 col 12: Use isEmpty instead of length

Fix lib/directive/components/MaterialAttribute.dart. (-3.93 points)

Analysis of lib/directive/components/MaterialAttribute.dart reported 8 hints, including:

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

line 50 col 28: Unnecessary new keyword.

line 53 col 61: Avoid const keyword.

line 55 col 10: Don't explicitly initialize variables to null.

line 61 col 33: 'resolve' is deprecated and shouldn't be used.

Fix additional 7 files with analysis or formatting issues. (-12.37 points)

Additional issues in the following files:

  • lib/directive/components/MaterialClass.dart (8 hints)
  • lib/directive/components/MaterialModel.dart (6 hints)
  • lib/m4d_directive.dart (5 hints)
  • lib/directive/components/interfaces/actions.dart (2 hints)
  • lib/directive/components/interfaces/stores.dart (2 hints)
  • lib/directive/utils.dart (2 hints)
  • lib/services.dart (Run dartfmt to format lib/services.dart.)

Maintenance issues and suggestions

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field https://github.com/MikeMitterer/m4d_directives was unreachable.

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (intl).

Package is getting outdated. (-20.27 points)

The package was last published 62 weeks ago.

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_directive.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
intl ^0.15.0 0.15.8 0.16.1
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
meta ^1.1.0 1.1.8
path ^1.4.0 1.6.4
platform_detect ^1.3.0 1.4.0
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.6.0
async 2.4.1
build_cli_annotations 1.2.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_translation 0.17.9
js 0.6.1+1
l10n 2.0.19
node_interop 1.0.3
node_io 1.0.1+2
optional 3.1.0 4.1.0
package_config 1.9.3
pedantic 1.9.0
petitparser 2.4.0 3.0.2
pub_semver 1.4.4
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+14
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