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

outdated

This package will give you a set of tools to speed up and keep clean the development of your app. State Management Manages the flutter state in a similar but more flexible way then the common flutter [...]

1
likes
70/ 160
pub points
60%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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

59 out of 229 API elements (25.8 %) have documentation comments.

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

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 6 issues. Showing the first 2:

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

lib/error_state.dart:25:44

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

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

INFO: 'ResultModel' is deprecated and shouldn't be used.

lib/error_resolvers/error_state_resolver.dart:5:24

  ╷
5 │   Future<dynamic> call(ResultModel either, Sink<BaseBlocPrimaryState>? sinkState,
  │                        ^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/error_resolvers/error_state_resolver.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.2 0.0.3 0.0.3
clean_architecture_components ^0.0.2 0.0.2 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 `^0.0.2` on clean_architecture_components does not support the stable version `1.0.0`.

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

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:25: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
70
pub points
60%
popularity

Publisher

unverified uploader

This package will give you a set of tools to speed up and keep clean the development of your app. State Management Manages the flutter state in a similar but more flexible way then the common flutter bloc UseCase interface to implement and organize the application logic of your app LoggerDefault to log all your required logs Flutter toasts are few of the utilities already incorporated. BaseBlocDataState , BaseBlocPrimaryState states and BaseBlocEvent to organize the flow of data between your widget and bloc

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