daad_flutter_utils 1.1.0 copy "daad_flutter_utils: ^1.1.0" to clipboard
daad_flutter_utils: ^1.1.0 copied to clipboard

unlisted

Flutter utils

1
likes
90/ 140
pub points
0%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
10 / 20trigger folding of the section

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

15 out of 40 API elements (37.5 %) have documentation comments.

Some symbols that are missing documentation: daad_flutter_utils, daad_flutter_utils.AppUtils, daad_flutter_utils.AppUtils.appBuildNumber, daad_flutter_utils.AppUtils.appFullVersion, daad_flutter_utils.AppUtils.appVersion.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:daad_flutter_utils/daad_flutter_utils.dart that imports:
  • package:daad_flutter_utils/src/connectivity_utils.dart that imports:
  • package:connectivity/connectivity.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:daad_flutter_utils/daad_flutter_utils.dart that imports:
  • package:daad_flutter_utils/src/connectivity_utils.dart that imports:
  • package:connectivity/connectivity.dart that declares support for platforms: Android, iOS, macOS, Web.
Package not compatible with platform Web

Because:

  • package:daad_flutter_utils/daad_flutter_utils.dart that imports:
  • package:daad_flutter_utils/src/platform_utils.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: The null check operator shouldn't be used on a variable whose type is a potentially nullable type parameter.

lib/src/bloc_utils.dart:14:26

   ╷
14 │       dispatch(_lastEvent!);
   │                          ^
   ╵

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

INFO: Empty catch block.

lib/src/bloc_utils.dart:33:19

   ╷
33 │     } catch (err) {}
   │                   ^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bloc_utils.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
connectivity ^3.0.6 3.0.6 3.0.6
daad_dart_utils ^1.0.3 1.0.3 1.0.3
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.0.1 8.1.5 8.1.5
package_info_plus ^1.0.4 1.4.3+1 7.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
bloc - 8.1.4 8.1.4
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
connectivity_for_web - 0.4.0+1 0.4.0+1
connectivity_macos - 0.2.1+2 0.2.1+2
connectivity_platform_interface - 2.0.1 2.0.1
ffi - 2.1.2 2.1.2
flutter_web_plugins - 0.0.0 0.0.0
http - 0.13.6 1.2.1
http_parser - 4.0.2 4.0.2
intl - 0.17.0 0.19.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
nested - 1.0.0 1.0.0
package_info_plus_linux - 1.0.5 2.0.0
package_info_plus_macos - 1.3.0 2.0.0
package_info_plus_platform_interface - 1.0.2 3.0.0
package_info_plus_web - 1.0.6 2.0.0
package_info_plus_windows - 2.1.0 3.0.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
win32 - 3.1.4 5.4.0

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

The constraint `^1.0.4` on package_info_plus does not support the stable version `2.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.