template_package 2.0.8 copy "template_package: ^2.0.8" to clipboard
template_package: ^2.0.8 copied to clipboard

A Set of tools to speed up and keep clean the development of your app.

1
likes
80/ 160
pub points
60%
popularity

We analyzed this package 4 days ago, and awarded it 80 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

68 out of 209 API elements (32.5 %) have documentation comments.

Some symbols that are missing documentation: analytics_proxy, analytics_proxy.AnalyticsProxy.dispose, analytics_proxy.AnalyticsProxy.enable, analytics_proxy.AnalyticsProxy.identifyUser, analytics_proxy.AnalyticsProxy.isSensitiveScreen.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:template_package/template_package.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:template_package/template_package.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:template_package/template_package.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:template_package/template_package.dart that imports:
  • package:template_package/logger/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

ERROR: The getter 'errorColor' isn't defined for the type 'ThemeData'.

lib/error_state.dart:26:44

   ╷
26 │         backgroundColor: Theme.of(context).errorColor,
   │                                            ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/error_state.dart

INFO: Use 'isEmpty' instead of 'length' to test whether the collection is empty.

lib/locale/translations.dart:32:30

   ╷
32 │     if (arguments == null || arguments.length == 0) {
   │                              ^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/locale/translations.dart

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
base_bloc ^0.0.3 0.0.3 0.0.3
clean_architecture_components ^1.0.1 1.0.1 1.0.1
dependency_provider ^0.0.1 0.0.1 0.0.1
flutter flutter 0.0.0 0.0.0
fluttertoast ^8.0.7 8.2.6 8.2.6
logger ^1.0.0 1.4.0 2.3.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
equatable - 2.0.5 2.0.5
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.0.0` on logger does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions logger to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_GETTER - lib/error_state.dart:26:44 - The getter 'errorColor' isn't defined for the type 'ThemeData'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.7, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

1
likes
80
pub points
60%
popularity

Publisher

unverified uploader

A Set of tools to speed up and keep clean the development of your app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

base_bloc, clean_architecture_components, dependency_provider, flutter, fluttertoast, logger

More

Packages that depend on template_package