flutter_money 0.0.3
flutter_money: ^0.0.3 copied to clipboard
Money formatter for Flutter!
We analyzed this package 6 days ago, and awarded it 115 pub points (of a possible 160):
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.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/nwagu/flutter_money
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
5/10 points: Use an OSI-approved license
Detected license: BSD-2-Clause-Views
.
The following license are not OSI-approved: `BSD-2-Clause-Views`.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
35 out of 39 API elements (89.7 %) have documentation comments.
Some symbols that are missing documentation: flutter_money.FastCalcType
, flutter_money.MoneyFormatterCompare.MoneyFormatterCompare.new
, flutter_money.MoneyFormatterCompare.amount
, flutter_money.MoneyFormatterSettings.thousandSeparator
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_money/flutter_money.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:flutter_money/flutter_money.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:flutter_money/flutter_money.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:flutter_money/flutter_money.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/flutter_money/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
WARNING: The type parameter 'amount' is annotated with @required but only named parameters without a default value can be annotated with it.
lib/src/flutter_money_base.dart:98:38
╷
98 │ {@required FastCalcType? type, @required double amount = 0}) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_money_base.dart
WARNING: Unused import: 'package:flutter/foundation.dart'.
lib/src/utils/money_formatter_compare.dart:39:8
╷
39 │ import 'package:flutter/foundation.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/money_formatter_compare.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
intl |
^0.17.0 |
0.17.0 | 0.20.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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.17.0` on intl does not support the stable version `0.18.0`.
Try running dart pub upgrade --major-versions intl
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.23
, Flutter 3.35.4
, Dart 3.9.2
.
Check the analysis log for details.