ui_widgets_utils 1.2.0 ui_widgets_utils: ^1.2.0 copied to clipboard
Widgets and Utilities to enhance UI and UX with dialog windows, spinners and buttons
We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-2-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting ui_widgets_utils... Discovering libraries... Linking elements... Precaching local docs for 649061 elements... Initialized dartdoc with 777 libraries Generating docs for library nav_bottom_bar.dart from package:ui_widgets_utils/nav_bottom_bar.dart... Generating docs for library dialog_box.dart from package:ui_widgets_utils/dialog_box.dart... Generating docs for library ui_widgets_utils.dart from package:ui_widgets_utils/ui_widgets_utils.dart... Generating docs for library custom_scroll_physics.dart from package:ui_widgets_utils/custom_scroll_physics.dart... Generating docs for library variable_string.dart from package:ui_widgets_utils/variable_string.dart... [6 more lines] ERR: warning: ambiguous reexport of ui_widgets_utils.showBox, canonicalization candidates: (ui_widgets_utils, ui_widgets_utils) -> ui_widgets_utils (confidence 0.000) from ui_widgets_utils.showBox: (file:///tmp/pana_PPIIOG/lib/src/widgets/dialog_box.dart:18:14) ui_widgets_utils: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) ui_widgets_utils: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor ui_widgets_utils.showBox} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [238 more lines]
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: 'red' is deprecated and shouldn't be used. Use .r.
lib/src/utils/white_black_foreground.dart:25:38
╷
25 │ final v = sqrt(pow(backgroundColor.red, 2) * 0.299 +
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/white_black_foreground.dart
INFO: 'green' is deprecated and shouldn't be used. Use .g.
lib/src/utils/white_black_foreground.dart:26:31
╷
26 │ pow(backgroundColor.green, 2) * 0.587 +
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/white_black_foreground.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
sky_engine |
- | 0.0.0 | 0.0.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.