m4d_dialog 0.2.3

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 60

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]
40
Health:
Code health derived from static analysis. [more]
85
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
60
Learn more about scoring.

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

  • Dart: 2.1.0
  • pana: 0.12.13+1

Platforms

Detected platforms: web

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

Health suggestions

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

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

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.

line 78 col 48: Use = to separate a named parameter from its default value.

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

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

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. (-1.99 points)

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

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. (-3.99 points)

Additional issues in the following files:

  • lib/dialog/MaterialConfirmDialog.dart (3 hints)
  • lib/dialog/MaterialAlertDialog.dart (2 hints)
  • lib/dialog/MaterialTimePicker.dart (2 hints)
  • lib/dialog/MaterialSnackbar.dart (1 hint)
  • lib/dialog/components/MaterialDialogComponent.dart (Run dartfmt to format lib/dialog/components/MaterialDialogComponent.dart.)
  • 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.7
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.19
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.32.6 0.35.1
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.3
front_end 0.1.4+2 0.1.11
glob 1.1.7
html 0.13.3+3
intl_translation 0.17.1 0.17.3
kernel 0.3.4+2 0.3.11
l10n 2.0.15
m4d_directive 0.1.16
matcher 0.12.4
optional 3.0.0+2
package_config 1.0.5
petitparser 1.7.7 2.1.1
plugin 0.2.0+3
pub_semver 1.4.2
source_span 1.5.4
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+1
yaml 2.1.15
Dev dependencies
build_runner any
build_test any
build_web_compilers any
test any