adeptutils 1.0.7+12

  • Readme
  • Changelog
  • Installing
  • 54

adeptutils #

Adept Utils lib

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1.0.7+12 #

1.0.6+11 #

1.0.5+10 #

1.0.4+9 #

1.0.3 #

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  adeptutils: ^1.0.7+12

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support 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:adeptutils/adeptutils.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
44
Health:
Code health derived from static analysis. [more]
75
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
54
Learn more about scoring.

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

  • Dart: 2.7.1
  • pana: 0.13.6
  • Flutter: 1.12.13+hotfix.8

Health suggestions

Fix lib/src/dimen_utils.dart. (-25 points)

Analysis of lib/src/dimen_utils.dart reported 78 hints, including:

line 4 col 16: Name non-constant identifiers using lowerCamelCase.

line 5 col 16: Name non-constant identifiers using lowerCamelCase.

line 7 col 16: Name non-constant identifiers using lowerCamelCase.

line 8 col 16: Name non-constant identifiers using lowerCamelCase.

line 9 col 16: Name non-constant identifiers using lowerCamelCase.

Fix lib/src/wrapper/adept_date_time.dart. (-2.48 points)

Analysis of lib/src/wrapper/adept_date_time.dart reported 5 hints:

line 147 col 26: Test type arguments in operator ==(Object other).

line 151 col 17: The method doesn't override an inherited method.

line 157 col 17: The method doesn't override an inherited method.

line 163 col 17: The method doesn't override an inherited method.

line 169 col 17: The method doesn't override an inherited method.

Fix lib/src/wrapper/location.dart. (-1.99 points)

Analysis of lib/src/wrapper/location.dart reported 4 hints:

line 15 col 3: Prefer using /// for doc comments.

line 41 col 3: Prefer using /// for doc comments.

line 49 col 3: Prefer using /// for doc comments.

line 130 col 25: The declaration '_fromMaps' isn't referenced.

Fix additional 39 files with analysis or formatting issues. (-1 points)

Additional issues in the following files:

  • lib/src/collections/multi_entry_set.dart (1 hint)
  • lib/src/wrapper/zoned_date_time.dart (1 hint)
  • lib/adeptutils.dart (Run flutter format to format lib/adeptutils.dart.)
  • lib/generated/i18n.dart (Run flutter format to format lib/generated/i18n.dart.)
  • lib/src/build_config.dart (Run flutter format to format lib/src/build_config.dart.)
  • lib/src/collections/collections.dart (Run flutter format to format lib/src/collections/collections.dart.)
  • lib/src/collections/jmap_entry.dart (Run flutter format to format lib/src/collections/jmap_entry.dart.)
  • lib/src/collections/map_builder.dart (Run flutter format to format lib/src/collections/map_builder.dart.)
  • lib/src/collections/multi_key_map.dart (Run flutter format to format lib/src/collections/multi_key_map.dart.)
  • lib/src/collections/queue_set.dart (Run flutter format to format lib/src/collections/queue_set.dart.)
  • lib/src/collections/stack.dart (Run flutter format to format lib/src/collections/stack.dart.)
  • lib/src/color_utils.dart (Run flutter format to format lib/src/color_utils.dart.)
  • lib/src/connection_utils.dart (Run flutter format to format lib/src/connection_utils.dart.)
  • lib/src/date_utils.dart (Run flutter format to format lib/src/date_utils.dart.)
  • lib/src/enumerators/lifecycle_state.dart (Run flutter format to format lib/src/enumerators/lifecycle_state.dart.)
  • lib/src/exception_utils.dart (Run flutter format to format lib/src/exception_utils.dart.)
  • lib/src/extendables/adept_state.dart (Run flutter format to format lib/src/extendables/adept_state.dart.)
  • lib/src/extendables/adept_stateful_widget.dart (Run flutter format to format lib/src/extendables/adept_stateful_widget.dart.)
  • lib/src/extendables/adept_stateless_widget.dart (Run flutter format to format lib/src/extendables/adept_stateless_widget.dart.)
  • lib/src/extendables/jsonable.dart (Run flutter format to format lib/src/extendables/jsonable.dart.)
  • lib/src/input_method_utils.dart (Run flutter format to format lib/src/input_method_utils.dart.)
  • lib/src/intent_utils.dart (Run flutter format to format lib/src/intent_utils.dart.)
  • lib/src/interfaces/click_callback.dart (Run flutter format to format lib/src/interfaces/click_callback.dart.)
  • lib/src/interfaces/ibase.dart (Run flutter format to format lib/src/interfaces/ibase.dart.)
  • lib/src/interfaces/ibasic.dart (Run flutter format to format lib/src/interfaces/ibasic.dart.)
  • lib/src/interfaces/ilifecycle_state.dart (Run flutter format to format lib/src/interfaces/ilifecycle_state.dart.)
  • lib/src/interfaces/iloader.dart (Run flutter format to format lib/src/interfaces/iloader.dart.)
  • lib/src/interfaces/ilocalize.dart (Run flutter format to format lib/src/interfaces/ilocalize.dart.)
  • lib/src/interfaces/item_click_callback.dart (Run flutter format to format lib/src/interfaces/item_click_callback.dart.)
  • lib/src/interfaces/item_long_click_callback.dart (Run flutter format to format lib/src/interfaces/item_long_click_callback.dart.)
  • lib/src/interfaces/iwidget.dart (Run flutter format to format lib/src/interfaces/iwidget.dart.)
  • lib/src/interfaces/long_click_callback.dart (Run flutter format to format lib/src/interfaces/long_click_callback.dart.)
  • lib/src/locale_utils.dart (Run flutter format to format lib/src/locale_utils.dart.)
  • lib/src/package_utils.dart (Run flutter format to format lib/src/package_utils.dart.)
  • lib/src/routes/routes.dart (Run flutter format to format lib/src/routes/routes.dart.)
  • lib/src/screen_utils.dart (Run flutter format to format lib/src/screen_utils.dart.)
  • lib/src/shared_preferences_utils.dart (Run flutter format to format lib/src/shared_preferences_utils.dart.)
  • lib/src/text_utils.dart (Run flutter format to format lib/src/text_utils.dart.)
  • lib/src/wrapper/wrappers.dart (Run flutter format to format lib/src/wrapper/wrappers.dart.)

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (fluttertoast).

Homepage URL isn't helpful. (-10 points)

Update the homepage field from pubspec.yaml: link to a website about the package or use the source repository URL.

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 adeptutils.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-dev.68.0 <3.0.0
date_format ^1.0.8 1.0.8
device_info ^0.4.1+5 0.4.2+1
flutter 0.0.0
fluttertoast ^3.1.3 3.1.3 4.0.1
http ^0.12.0+4 0.12.0+4
intl ^0.16.0 0.16.1
json_annotation ^3.0.1 3.0.1
modal_progress_hud ^0.1.3 0.1.3
package_info ^0.4.0+14 0.4.0+16
shared_preferences ^0.5.6+2 0.5.6+3
url_launcher ^5.4.2 5.4.2
Transitive dependencies
async 2.4.1
charcode 1.1.3
collection 1.14.11 1.14.12
flutter_web_plugins 0.0.0
http_parser 3.1.4
meta 1.1.8
path 1.6.4
pedantic 1.9.0
plugin_platform_interface 1.0.2
shared_preferences_macos 0.0.1+6
shared_preferences_platform_interface 1.0.3
shared_preferences_web 0.1.2+4
sky_engine 0.0.99
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
url_launcher_macos 0.0.1+4
url_launcher_platform_interface 1.0.6
url_launcher_web 0.1.1+1
vector_math 2.0.8
Dev dependencies
build_runner ^1.7.4
flutter_test
json_serializable ^3.2.5