m4d_directive 0.1.11

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 14

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 #

  • Formatter was not propperly set in DefaultSimpleDataStore f0d20a5

Docs #

  • Better log-output for DefaultSimpleDataStore acde27d

v0.1 - 2018-11-02

Feature #

  • Data binding / MaterialModel implemented and works 58fd197

Bugs #

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.11

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_directive/m4d_directive.dart';
  
Version Uploaded Documentation Archive
0.1.16 Jan 17, 2019 Go to the documentation of m4d_directive 0.1.16 Download m4d_directive 0.1.16 archive
0.1.14 Dec 19, 2018 Go to the documentation of m4d_directive 0.1.14 Download m4d_directive 0.1.14 archive
0.1.11 Nov 21, 2018 Go to the documentation of m4d_directive 0.1.11 Download m4d_directive 0.1.11 archive
0.1.9 Nov 21, 2018 Go to the documentation of m4d_directive 0.1.9 Download m4d_directive 0.1.9 archive
0.1.7 Nov 19, 2018 Go to the documentation of m4d_directive 0.1.7 Download m4d_directive 0.1.7 archive
0.1.4 Nov 15, 2018 Go to the documentation of m4d_directive 0.1.4 Download m4d_directive 0.1.4 archive
0.1.2 Nov 5, 2018 Go to the documentation of m4d_directive 0.1.2 Download m4d_directive 0.1.2 archive
0.1.0 Nov 2, 2018 Go to the documentation of m4d_directive 0.1.0 Download m4d_directive 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
17
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
30
Overall:
Weighted score of the above. [more]
14
Learn more about scoring.

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

  • Dart: 2.3.0
  • pana: 0.12.15

Platforms

Detected platforms:

Error(s) prevent platform classification:

Error(s) in lib/m4d_directive.dart: Classes can only extend other classes.

Health issues and suggestions

Fix lib/m4d_directive.dart. (-68.83 points)

Analysis of lib/m4d_directive.dart failed with 4 errors, 3 hints, including:

line 127 col 32: Classes can only extend other classes.

line 127 col 32: Undefined class 'ioc.IOCModule'.

line 135 col 13: The function 'IOCContainer' isn't defined.

line 136 col 13: The function 'IOCContainer' isn't defined.

line 80 col 9: Don't explicitly initialize variables to null.

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

Analysis of lib/directive/components/MaterialAttribute.dart failed with 2 errors, 3 hints:

line 60 col 71: Undefined class 'ioc.IOCContainer'.

line 165 col 50: Undefined class 'ioc.IOCContainer'.

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

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

line 62 col 41: Use ; instead of {} for empty constructor bodies.

Fix lib/directive/components/MaterialClass.dart. (-44.59 points)

Analysis of lib/directive/components/MaterialClass.dart failed with 2 errors, 3 hints:

line 60 col 67: Undefined class 'ioc.IOCContainer'.

line 167 col 50: Undefined class 'ioc.IOCContainer'.

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

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

line 62 col 41: Use ; instead of {} for empty constructor bodies.

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

Additional issues in the following files:

  • lib/directive/components/MaterialModel.dart (2 errors, 1 hint)
  • lib/directive/components/interfaces/stores.dart (2 hints)
  • lib/directive/components/model/ModelObserverFactory.dart (2 hints)
  • lib/directive/components/interfaces/actions.dart (Run dartfmt to format lib/directive/components/interfaces/actions.dart.)
  • lib/directive/components/model/ModelObserver.dart (Run dartfmt to format lib/directive/components/model/ModelObserver.dart.)
  • lib/directive/utils.dart (Run dartfmt to format lib/directive/utils.dart.)
  • lib/services.dart (Run dartfmt to format lib/services.dart.)

Maintenance issues and suggestions

Fix platform conflicts. (-20 points)

Error(s) prevent platform classification:

Error(s) in lib/m4d_directive.dart: Classes can only extend other classes.

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

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

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
logging >=0.11.3 <1.0.0 0.11.3+2
m4d_components >=0.1.0 <1.0.0 0.1.31
m4d_core >=0.1.0 <1.0.0 0.2.21
m4d_flux >=0.1.0 <1.0.0 0.1.0
meta ^1.1.0 1.1.7
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.4
kernel 0.3.18
l10n 2.0.19
optional 3.0.2
package_config 1.0.5
petitparser 2.2.1
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.2.0
yaml 2.1.15
Dev dependencies
build_runner any
build_test any
build_web_compilers any
test any