m4d_components 0.1.31

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 74

Material4Dart - Basic Components

Basic components like MaterialButton, MaterialCheckbox and so on

Examples

GitHub

Usage

There is more documentation on the way but here is an example how main.dart looks for the Accordion-Example

import 'package:m4d_core/m4d_ioc.dart' as ioc;
import "package:m4d_components/m4d_components.dart";

main() async {

    ioc.IOCContainer.bindModules([ CoreComponentsModule() ]);
    await componentHandler().run();
}

Change Log for m4d_components

Material Design 4 Dart - Basic components

Unreleased

Feature

Bugs

  • Wrong description in example-template 304f25e
  • Samples had wrong GH url b4a959b
  • m4d_button-sample could not find the right ID 3794493
  • Missing 'prpare' for deploy-samples 67a3892
  • pubspec - local path a6f7f15

Docs

v0.1 - 2018-10-19

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_components: ^0.1.31

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_components/m4d_components.dart';
  
Version Uploaded Documentation Archive
0.1.31 Jan 17, 2019 Go to the documentation of m4d_components 0.1.31 Download m4d_components 0.1.31 archive
0.1.29 Dec 19, 2018 Go to the documentation of m4d_components 0.1.29 Download m4d_components 0.1.29 archive
0.1.26 Dec 19, 2018 Go to the documentation of m4d_components 0.1.26 Download m4d_components 0.1.26 archive
0.1.24 Dec 19, 2018 Go to the documentation of m4d_components 0.1.24 Download m4d_components 0.1.24 archive
0.1.9 Oct 23, 2018 Go to the documentation of m4d_components 0.1.9 Download m4d_components 0.1.9 archive
0.1.7 Oct 23, 2018 Go to the documentation of m4d_components 0.1.7 Download m4d_components 0.1.7 archive
0.1.3 Oct 23, 2018 Go to the documentation of m4d_components 0.1.3 Download m4d_components 0.1.3 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
61
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
74
Learn more about scoring.

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

  • Dart: 2.1.0
  • pana: 0.12.10

Platforms

Detected platforms: web

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

Health suggestions

Fix lib/components/MaterialRipple.dart. (-0.50 points)

Analysis of lib/components/MaterialRipple.dart reported 1 hint:

line 190 col 17: Equality operator == invocation with references of unrelated types.

Format lib/components/MaterialAccordion.dart.

Run dartfmt to format lib/components/MaterialAccordion.dart.

Format lib/components/MaterialBadge.dart.

Run dartfmt to format lib/components/MaterialBadge.dart.

Fix additional 28 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/components/MaterialButton.dart (Run dartfmt to format lib/components/MaterialButton.dart.)
  • lib/components/MaterialCheckbox.dart (Run dartfmt to format lib/components/MaterialCheckbox.dart.)
  • lib/components/MaterialDataTable.dart (Run dartfmt to format lib/components/MaterialDataTable.dart.)
  • lib/components/MaterialDivDataTable.dart (Run dartfmt to format lib/components/MaterialDivDataTable.dart.)
  • lib/components/MaterialFormatter.dart (Run dartfmt to format lib/components/MaterialFormatter.dart.)
  • lib/components/MaterialIconToggle.dart (Run dartfmt to format lib/components/MaterialIconToggle.dart.)
  • lib/components/MaterialLabelfield.dart (Run dartfmt to format lib/components/MaterialLabelfield.dart.)
  • lib/components/MaterialLayout.dart (Run dartfmt to format lib/components/MaterialLayout.dart.)
  • lib/components/MaterialMenu.dart (Run dartfmt to format lib/components/MaterialMenu.dart.)
  • lib/components/MaterialProgress.dart (Run dartfmt to format lib/components/MaterialProgress.dart.)
  • lib/components/MaterialProgressVertical.dart (Run dartfmt to format lib/components/MaterialProgressVertical.dart.)
  • lib/components/MaterialRadio.dart (Run dartfmt to format lib/components/MaterialRadio.dart.)
  • lib/components/MaterialSlider.dart (Run dartfmt to format lib/components/MaterialSlider.dart.)
  • lib/components/MaterialSpinner.dart (Run dartfmt to format lib/components/MaterialSpinner.dart.)
  • lib/components/MaterialSwitch.dart (Run dartfmt to format lib/components/MaterialSwitch.dart.)
  • lib/components/MaterialTabs.dart (Run dartfmt to format lib/components/MaterialTabs.dart.)
  • lib/components/MaterialTextfield.dart (Run dartfmt to format lib/components/MaterialTextfield.dart.)
  • lib/components/MaterialTooltip.dart (Run dartfmt to format lib/components/MaterialTooltip.dart.)
  • lib/components/utils/FallbackFormatter.dart (Run dartfmt to format lib/components/utils/FallbackFormatter.dart.)
  • lib/formatter/ChooseFormatter.dart (Run dartfmt to format lib/formatter/ChooseFormatter.dart.)
  • lib/formatter/DecoratorFormatter.dart (Run dartfmt to format lib/formatter/DecoratorFormatter.dart.)
  • lib/formatter/LowerCaseFormatter.dart (Run dartfmt to format lib/formatter/LowerCaseFormatter.dart.)
  • lib/formatter/NumberFormatter.dart (Run dartfmt to format lib/formatter/NumberFormatter.dart.)
  • lib/formatter/UpperCaseFormatter.dart (Run dartfmt to format lib/formatter/UpperCaseFormatter.dart.)
  • lib/formatter/utils/FormatterPipeline.dart (Run dartfmt to format lib/formatter/utils/FormatterPipeline.dart.)
  • lib/m4d_components.dart (Run dartfmt to format lib/m4d_components.dart.)
  • lib/m4d_formatter.dart (Run dartfmt to format lib/m4d_formatter.dart.)
  • lib/services.dart (Run dartfmt to format lib/services.dart.)

Maintenance suggestions

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use m4d_components.dart.

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.7
logging >=0.11.3 <1.0.0 0.11.3+2
m4d_core >=0.2.0 <1.0.0 0.2.2
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.32.6 0.34.2
ansicolor 1.0.2
args 1.5.1
async 2.0.8
build_cli_annotations 1.0.1
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
csslib 0.14.6
dart_style 1.1.3 1.2.2
front_end 0.1.4+2 0.1.9
glob 1.1.7
html 0.13.3+3
intl_translation 0.17.1 0.17.2
kernel 0.3.4+2 0.3.9
l10n 2.0.15
matcher 0.12.4
meta 1.1.7
optional 3.0.0+2
package_config 1.0.5
petitparser 1.7.7 2.1.0
plugin 0.2.0+3
pub_semver 1.4.2
source_span 1.5.1
stack_trace 1.9.3
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
where 4.4.0 6.1.0
yaml 2.1.15
Dev dependencies
build_runner any
build_test any
build_web_compilers any
test any