pui 0.0.6
pui: ^0.0.6 copied to clipboard
A minimal Material 3-based theme and components for Flutter, developed by PITR.
We analyzed this package 6 days ago, and awarded it 120 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-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
17 out of 135 API elements (12.6 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: pui, pui.AppNavigation, pui.AppNavigation.AppNavigation.new, pui.AppNavigation.appBar, pui.AppNavigation.borderColor.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:pui/pui.dartthat imports:package:pui/src/components/variable_editor/num_editor.dartthat imports:package:dynamic_color/dynamic_color.dartthat declares support for platforms:Android,Windows,Linux,macOS.
Package does not support platform `Web`.
Because:
package:pui/pui.dartthat imports:package:pui/src/components/variable_editor/num_editor.dartthat imports:package:dynamic_color/dynamic_color.dartthat declares support for platforms:Android,Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/components/dialogs/list_edit.dart:174:60
╷
174 │ color: Theme.of(context).colorScheme.secondary.withOpacity(0.125),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/dialogs/list_edit.dart
INFO: 'MaterialStateProperty' is deprecated and shouldn't be used. Use WidgetStateProperty instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.
lib/src/components/dialogs/text_edit.dart:114:30
╷
114 │ minimumSize: MaterialStateProperty.all(
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/dialogs/text_edit.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dynamic_color |
^1.8.1 |
1.8.1 | 1.8.1 | |
fast_immutable_collections |
^11.0.4 |
11.1.0 | 11.1.0 | |
flutter_animate |
^4.5.2 |
4.5.2 | 4.5.2 | |
gap |
^3.0.1 |
3.0.1 | 3.0.1 | |
go_router |
^16.1.0 |
16.3.0 | 17.1.0 | |
layout |
^1.0.5 |
1.0.5 | 1.0.5 | |
material_symbols_icons |
^4.2858.1 |
4.2906.0 | 4.2906.0 | |
open_simplex_2 |
^0.2.1 |
0.2.1 | 0.2.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 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 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_shaders |
- | 0.1.3 | 0.1.3 | |
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 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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.8 | 0.7.9 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^16.1.0` on go_router does not support the stable version `17.0.0`.
Try running dart pub upgrade --major-versions go_router 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.23.10, Flutter 3.41.0, Dart 3.11.0.
Check the analysis log for details.