flet 0.28.3
flet: ^0.28.3 copied to clipboard
Write entire Flutter app in Python or add server-driven UI experience into existing Flutter app.
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/flet-dev/flet/packages/flet
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
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
56 out of 538 API elements (10.4 %) 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: flet
, flet.AppState
, flet.AppState.AppState.initial
, flet.AppState.AppState.new
, flet.AppState.assetsDir
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:flet/flet.dart
that imports:package:flet/src/utils/form_field.dart
that imports:package:flet/src/controls/create_control.dart
that imports:package:flet/src/controls/row.dart
that imports:package:flet/src/controls/scrollable_control.dart
that imports:package:flet/src/flet_app_services.dart
that imports:package:flet/src/reducers.dart
that imports:package:flet/src/utils/desktop.dart
that imports:package:window_to_front/window_to_front.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `iOS`.
Because:
package:flet/flet.dart
that imports:package:flet/src/utils/form_field.dart
that imports:package:flet/src/controls/create_control.dart
that imports:package:flet/src/controls/row.dart
that imports:package:flet/src/controls/scrollable_control.dart
that imports:package:flet/src/flet_app_services.dart
that imports:package:flet/src/reducers.dart
that imports:package:flet/src/utils/desktop.dart
that imports:package:window_to_front/window_to_front.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `Windows`.
Because:
package:flet/flet.dart
that imports:package:flet/src/utils/form_field.dart
that imports:package:flet/src/controls/create_control.dart
that imports:package:flet/src/controls/shake_detector.dart
that imports:package:sensors_plus/sensors_plus.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:flet/flet.dart
that imports:package:flet/src/utils/form_field.dart
that imports:package:flet/src/controls/create_control.dart
that imports:package:flet/src/controls/shake_detector.dart
that imports:package:sensors_plus/sensors_plus.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:flet/flet.dart
that imports:package:flet/src/utils/form_field.dart
that imports:package:flet/src/controls/create_control.dart
that imports:package:flet/src/controls/shake_detector.dart
that imports:package:sensors_plus/sensors_plus.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Web`.
Because:
package:flet/flet.dart
that imports:package:flet/src/utils/form_field.dart
that imports:package:flet/src/controls/create_control.dart
that imports:package:flet/src/controls/row.dart
that imports:package:flet/src/controls/scrollable_control.dart
that imports:package:flet/src/flet_app_services.dart
that imports:package:flet/src/reducers.dart
that imports:package:flet/src/utils/desktop.dart
that imports:package:window_to_front/window_to_front.dart
that declares support for platforms:Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flet/flet.dart
that imports:package:flet/src/utils/tooltip.dart
that imports:package:flet/src/utils/text.dart
that imports:package:flet/src/utils/drawing.dart
that imports:package:flet/src/utils/images.dart
that imports:package:flet/src/utils/images_io.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 63 issues. Showing the first 2:
WARNING: The value of the field '_focused' isn't used.
lib/src/controls/search_anchor.dart:39:8
╷
39 │ bool _focused = false;
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/controls/search_anchor.dart
WARNING: The left operand can't be null, so the right operand is never executed.
lib/src/controls/text.dart:118:31
╷
118 │ "text": text ?? "",
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/controls/text.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
device_info_plus |
^11.2.0 |
11.5.0 | 11.5.0 | |
equatable |
^2.0.3 |
2.0.7 | 2.0.7 | |
file_picker |
^10.1.9 |
10.2.0 | 10.2.0 | |
fl_chart |
^0.69.0 |
0.69.2 | 1.0.0 | |
flutter_highlight |
^0.7.0 |
0.7.0 | 0.7.0 | |
flutter_markdown |
^0.7.4+1 |
0.7.7+1 | 0.7.7+1 | Discontinued |
flutter_redux |
^0.10.0 |
0.10.0 | 0.10.0 | |
flutter_svg |
^2.0.13 |
2.2.0 | 2.2.0 | |
highlight |
^0.7.0 |
0.7.0 | 0.7.0 | |
http |
^1.2.2 |
1.4.0 | 1.4.0 | |
js |
^0.6.5 |
0.6.7 | 0.7.2 | Discontinued |
markdown |
^7.2.2 |
7.3.0 | 7.3.0 | |
path |
^1.8.2 |
1.9.1 | 1.9.1 | |
redux |
^5.0.0 |
5.0.0 | 5.0.0 | |
sensors_plus |
^4.0.2 |
4.0.2 | 6.1.1 | |
shared_preferences |
^2.3.2 |
2.5.3 | 2.5.3 | |
url_launcher |
^6.3.1 |
6.3.1 | 6.3.1 | |
web_socket_channel |
^2.4.0 |
2.4.0 | 3.0.3 | |
window_manager |
^0.4.3 |
0.4.3 | 0.5.0 | |
window_to_front |
^0.0.3 |
0.0.3 | 0.0.3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 6 issues. Showing the first 2:
The constraint `^0.69.0` on fl_chart does not support the stable version `0.70.0`.
Try running dart pub upgrade --major-versions fl_chart
to update the constraint.
The constraint `^0.6.5` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.