geek_utils 0.0.4 copy "geek_utils: ^0.0.4" to clipboard
geek_utils: ^0.0.4 copied to clipboard

A util for the geekgeekgo flutter

45/ 160
pub points
33
downloads

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

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.4").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting geek_utils... Discovering libraries... Linking elements... Precaching local docs for 686183 elements... Initialized dartdoc with 1116 libraries Generating docs for library geek_utils.dart from package:geek_utils/geek_utils.dart... Generating docs for library util/api_utils.dart from package:geek_utils/util/api_utils.dart... Generating docs for library util/google_analytic_utils.dart from package:geek_utils/util/google_analytic_utils.dart... Documented 3 public libraries in 57.7 seconds ERR: warning: geek_utils has no library level documentation comments from geek_utils: (file:///tmp/pana_NUMPIJ/lib/geek_utils.dart:1:1) warning: geek_utils has no library level documentation comments from geek_utils: (file:///tmp/pana_NUMPIJ/lib/util/api_utils.dart:1:1) error: file already written at "geek_utils/index.html" for symbol geek_utils: (file:///tmp/pana_NUMPIJ/lib/util/api_utils.dart:1:1) conflicting with file already generated by geek_utils: (file:///tmp/pana_NUMPIJ/lib/geek_utils.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'geek_utils' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [29 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

ERROR: The argument type 'Map

lib/util/google_analytic_utils.dart:22:19

   ╷
22 │       parameters: parameters,
   │                   ^^^^^^^^^^
   ╵

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

INFO: 'setCurrentScreen' is deprecated and shouldn't be used. setCurrentScreen() has been deprecated. Please use logScreenView().

lib/util/google_analytic_utils.dart:41:22

   ╷
41 │     await _analytics.setCurrentScreen(
   │                      ^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
firebase_analytics ^11.2.1 11.6.0 12.0.2
firebase_core ^3.3.0 3.15.2 4.1.1
firebase_messaging ^15.0.4 15.2.10 16.0.2
http ^0.13.3 0.13.6 1.5.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.59 1.3.62
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
fake_async - 1.3.3 1.3.3
firebase_analytics_platform_interface - 4.4.3 5.0.2
firebase_analytics_web - 0.5.10+16 0.6.0+2
firebase_core_platform_interface - 6.0.1 6.0.1
firebase_core_web - 2.24.1 3.1.1
firebase_messaging_platform_interface - 4.6.10 4.7.2
firebase_messaging_web - 3.10.10 4.0.2
http_parser - 4.1.2 4.1.2
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.7
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1

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

Found 4 issues. Showing the first 2:

The constraint `^11.2.1` on firebase_analytics does not support the stable version `12.0.0`.

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

The constraint `^3.3.0` on firebase_core does not support the stable version `4.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/util/google_analytic_utils.dart:22:19 - The argument type 'Map<String, dynamic>?' can't be assigned to the parameter type 'Map<String, Object>?'.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
45
points
33
downloads

Publisher

unverified uploader

Weekly Downloads

A util for the geekgeekgo flutter

Documentation

API reference

License

MIT (license)

Dependencies

firebase_analytics, firebase_core, firebase_messaging, flutter, http

More

Packages that depend on geek_utils