versatile_calculator 0.0.3 copy "versatile_calculator: ^0.0.3" to clipboard
versatile_calculator: ^0.0.3 copied to clipboard

A simple calculator with some unique attributes that stores history of the previous calculations in a scrollview.

80/ 160
pub points
1
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: BSD-3-Clause.

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

6 out of 14 API elements (42.9 %) have documentation comments.

Some symbols that are missing documentation: versatile_calculator, versatile_calculator.ExpandedContainerFunction, versatile_calculator.ExpandedContainerFunction.ExpandedContainerFunction.new, versatile_calculator.ExpandedContainerFunction.passContainerString, versatile_calculator.VersatileCalculator.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

Found 6 issues. Showing the first 2:

ERROR: The named parameter 'primary' isn't defined.

lib/src/common_button.dart:46:13

   ╷
46 │             primary: colorState.value,
   │             ^^^^^^^
   ╵

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

ERROR: The named parameter 'onPrimary' isn't defined.

lib/src/common_button.dart:52:13

   ╷
52 │             onPrimary: colorType == ButtonColorType.light
   │             ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/common_button.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
flutter_hooks ^0.18.2+1 0.18.6 0.21.3+1
hooks_riverpod ^1.0.3 1.0.4 3.1.0
math_expressions ^2.3.0 2.7.0 3.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
flutter_riverpod - 1.0.4 3.1.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
petitparser - 6.1.0 7.0.1
riverpod - 1.0.3 3.1.0
state_notifier - 0.7.2+1 1.0.0
vector_math - 2.2.0 2.2.0

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

Found 3 issues. Showing the first 2:

The constraint `^0.18.2+1` on flutter_hooks does not support the stable version `0.19.0`.

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

The constraint `^1.0.3` on hooks_riverpod does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions hooks_riverpod 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 2 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/src/common_button.dart:46:13 - The named parameter 'primary' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/common_button.dart:52:13 - The named parameter 'onPrimary' isn't defined.

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.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
80
points
1
downloads

Publisher

verified publisherrayquazax.com

Weekly Downloads

A simple calculator with some unique attributes that stores history of the previous calculations in a scrollview.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_hooks, hooks_riverpod, math_expressions

More

Packages that depend on versatile_calculator