m4d_dialog 0.2.3

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 47

Material 4 Dart - Dialogs #

Examples #

GitHub

Change Log for m4d_dialog #

Material Design 4 Dart - Dialogs

Unreleased #

Refactor #

  • Fighting against Darts broken dependency-management-system c3cf4ad

v0.1 - 2018-11-14

Docs #

  • All examples are working 4a0b184
  • Basic-Dialogs like AlertDialog, ConfirmDialog are working 272c81e
  • Removed wrong examples from README 89f0e27

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_dialog: ^0.2.3

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_dialog/m4d_dialog.dart';
  
Version Uploaded Documentation Archive
0.2.3 Jan 17, 2019 Go to the documentation of m4d_dialog 0.2.3 Download m4d_dialog 0.2.3 archive
0.2.1 Dec 19, 2018 Go to the documentation of m4d_dialog 0.2.1 Download m4d_dialog 0.2.1 archive
0.1.4 Dec 19, 2018 Go to the documentation of m4d_dialog 0.1.4 Download m4d_dialog 0.1.4 archive
0.1.1 Nov 14, 2018 Go to the documentation of m4d_dialog 0.1.1 Download m4d_dialog 0.1.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
16
Health:
Code health derived from static analysis. [more]
83
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
47
Learn more about scoring.

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

  • Dart: 2.2.0
  • pana: 0.12.14

Platforms

Detected platforms: web

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

Health suggestions

Fix lib/dialog/MaterialDialog.dart. (-8.17 points)

Analysis of lib/dialog/MaterialDialog.dart reported 17 hints, including:

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

line 74 col 50: Use = to separate a named parameter from its default value.

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

line 76 col 47: Use = to separate a named parameter from its default value.

line 77 col 47: Use = to separate a named parameter from its default value.

Fix lib/dialog/MaterialDatePicker.dart. (-2.48 points)

Analysis of lib/dialog/MaterialDatePicker.dart reported 5 hints:

line 51 col 47: Use ; instead of {} for empty constructor bodies.

line 314 col 5: Avoid return types on setters.

line 315 col 5: Avoid return types on setters.

line 316 col 5: Avoid return types on setters.

line 339 col 16: Use isNotEmpty instead of length

Fix lib/dialog/MaterialNotification.dart. (-2.48 points)

Analysis of lib/dialog/MaterialNotification.dart reported 5 hints:

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

line 69 col 42: Use = to separate a named parameter from its default value.

line 69 col 85: Use = to separate a named parameter from its default value.

line 69 col 112: Use = to separate a named parameter from its default value.

line 89 col 5: Avoid return types on setters.

Fix additional 6 files with analysis or formatting issues. (-4.98 points)

Additional issues in the following files:

  • lib/dialog/MaterialConfirmDialog.dart (3 hints)
  • lib/dialog/MaterialTimePicker.dart (3 hints)
  • lib/dialog/MaterialAlertDialog.dart (2 hints)
  • lib/dialog/MaterialSnackbar.dart (1 hint)
  • lib/dialog/components/MaterialDialogComponent.dart (1 hint)
  • lib/m4d_dialog.dart (Run dartfmt to format lib/m4d_dialog.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.

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_dialog.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_animation >=0.1.0 <1.0.0 0.1.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_template >=0.1.0 <1.0.0 0.2.9
m4d_translate >=0.1.0 <1.0.0 0.1.6
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.35.4 0.36.2
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
dart_style 1.2.4 1.2.7
front_end 0.1.14 0.1.17
glob 1.1.7
intl_translation 0.17.3
kernel 0.3.14 0.3.17
l10n 2.0.19
m4d_directive 0.1.16
optional 3.0.1
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