m4d_translate 0.1.6

  • Readme
  • Changelog
  • Installing
  • 55

Material 4 Dart - Translate-Component #

Examples #

GitHub

Change Log for m4d_translate #

Material Design 4 Dart - Translate

Unreleased #

Bugs #

  • Wrong description in HTML-Template 4526e59

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_translate: ^0.1.6

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

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

  • Dart: 2.7.0
  • pana: 0.13.4

Health suggestions

Fix lib/translate/MaterialTranslate.dart. (-3.45 points)

Analysis of lib/translate/MaterialTranslate.dart reported 7 hints, including:

line 28 col 28: Unnecessary new keyword.

line 31 col 61: Avoid const keyword.

line 57 col 5: Avoid return types on setters.

line 89 col 13: Unnecessary new keyword.

line 93 col 17: This function has a return type of 'String', but doesn't end with a return statement.

Format lib/m4d_translate.dart.

Run dartfmt to format lib/m4d_translate.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_translate.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is getting outdated. (-7.67 points)

The package was last published 56 weeks ago.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
console_log_handler ^1.0.0 1.1.6
l10n >=2.0.0 <3.0.0 2.0.19
logging >=0.11.3 <1.0.0 0.11.4
m4d_core >=0.2.0 <1.0.0 0.2.21
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.5.2
async 2.4.0
build_cli_annotations 1.1.0
charcode 1.1.2
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 0.15.8 0.16.1
intl_translation 0.17.9
js 0.6.1+1
meta 1.1.8
node_interop 1.0.3
node_io 1.0.1+2
optional 3.1.0 4.0.1
package_config 1.1.0
path 1.6.4
pedantic 1.9.0
petitparser 2.4.0 3.0.0
platform_detect 1.4.0
pub_semver 1.4.2
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+13
where 4.4.0 6.5.0
yaml 2.2.0
Dev dependencies
build_runner any
build_test any
build_web_compilers any
test any