flutter_modular 5.0.3 copy "flutter_modular: ^5.0.3" to clipboard
flutter_modular: ^5.0.3 copied to clipboard

Smart project structure with dependency injection and route management

1204
likes
100/ 140
pub points
98%
popularity

We analyzed this package 3 hours ago, and awarded it 100 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: flutter_modular,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has multiple matching pubspec.yaml with name: flutter_modular.

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

117 out of 228 API elements (51.3 %) have documentation comments.

Some symbols that are missing documentation: flutter_modular, flutter_modular.AsyncBind.asyncInject, flutter_modular.AsyncBind.copyWith, flutter_modular.Bind.bindType, flutter_modular.Bind.cast.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 10 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'false'.

lib/src/presenter/navigation/modular_route_information_parser.dart:35:37

   ╷
35 │       if (routeInformation.location == null ||
   │                                     ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presenter/navigation/modular_route_information_parser.dart

WARNING: The '!' will have no effect because the receiver can't be null.

lib/src/presenter/navigation/modular_route_information_parser.dart:40:41

   ╷
40 │         path = routeInformation.location!;
   │                                         ^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presenter/navigation/modular_route_information_parser.dart

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_modular_annotations ^0.0.2 0.0.2 0.0.2
meta >=1.3.0 <2.0.0 1.11.0 1.15.0
modular_core >=2.0.3+1 <3.0.0 2.0.3+1 3.3.2
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
modular_interfaces - 2.0.2 3.0.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

The constraint `>=2.0.3+1 <3.0.0` on modular_core does not support the stable version `3.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

1204
likes
100
pub points
98%
popularity

Publisher

verified publisherflutterando.com.br

Smart project structure with dependency injection and route management

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_modular_annotations, meta, modular_core

More

Packages that depend on flutter_modular