sura_manager 0.2.1 copy "sura_manager: ^0.2.1" to clipboard
sura_manager: ^0.2.1 copied to clipboard

A custom ValueNotifier and ValueListenableBuilder that support asynchronus value handling.

130/ 160
pub points
150
downloads

We analyzed this package 22 hours ago, and awarded it 130 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/asurraa/sura_manager was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

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

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

47 out of 69 API elements (68.1 %) have documentation comments.

Some symbols that are missing documentation: sura_manager, sura_manager.AsyncSubjectManager.AsyncSubjectManager.new, sura_manager.AsyncSubjectManager.hasData, sura_manager.AsyncSubjectManager.refresh, sura_manager.AsyncSubjectManager.stream.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:sura_manager/sura_manager.dart that imports:
  • package:sura_manager/src/async_subject_manager.dart that imports:
  • package:sura_flutter/sura_flutter.dart that imports:
  • package:sura_flutter/src/utils/sura_utils.dart that imports:
  • dart:io
Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 15 issues. Showing the first 2:

WARNING: This function has a nullable return type of 'T?', but ends without returning a value.

lib/src/async_subject_manager.dart:137:6

    ╷
137 │   T? updateData(T data) {
    │      ^^^^^^^^^^
    ╵

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

WARNING: This function has a nullable return type of 'T?', but ends without returning a value.

lib/src/future_manager.dart:219:6

    ╷
219 │   T? updateData(T? data, {bool useMicrotask = false}) {
    │      ^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
rxdart ^0.27.0 0.27.7 0.28.0
sura_flutter ^0.5.1 0.5.1 1.4.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
intl - 0.17.0 0.20.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
path - 1.9.1 1.9.1
universal_platform - 1.1.0 1.1.0
vector_math - 2.2.0 2.2.0

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

The constraint `^0.27.0` on rxdart does not support the stable version `0.28.0`.

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

The constraint `^0.5.1` on sura_flutter does not support the stable version `1.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
130
points
150
downloads

Documentation

API reference

Publisher

verified publisherasurraa.com

Weekly Downloads

A custom ValueNotifier and ValueListenableBuilder that support asynchronus value handling.

Homepage

License

MIT (license)

Dependencies

flutter, rxdart, sura_flutter

More

Packages that depend on sura_manager