flet 0.25.2 flet: ^0.25.2 copied to clipboard
Write entire Flutter app in Python or add server-driven UI experience into existing Flutter app.
We analyzed this package 30 hours ago, and awarded it 50 pub points (of a possible 160):
0/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
52 out of 421 API elements (12.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
, flet.AppState.AppState.initial
, 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.dart
that imports:package:window_manager/window_manager.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.dart
that imports:package:window_manager/window_manager.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/flet_app.dart
that imports:package:flet/src/flet_app_main.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/flet_app.dart
that imports:package:flet/src/flet_app_main.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/flet_app.dart
that imports:package:flet/src/flet_app_main.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.dart
that imports:package:window_manager/window_manager.dart
that declares support for platforms:Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 49 issues. Showing the first 2:
ERROR: A value of type 'TabBarThemeData' can't be returned from the function 'parseTabBarTheme' because it has a return type of 'TabBarTheme?'.
lib/src/utils/theme.dart:356:10
╷
356 │ return theme.tabBarTheme.copyWith(
│ ┌──────────^
357 │ │ overlayColor: getWidgetStateProperty<Color?>(
358 │ │ j["overlay_color"], (jv) => parseColor(theme, jv as String)),
359 │ │ dividerColor: parseColor(theme, j["divider_color"]),
360 │ │ indicatorColor: indicatorColor,
361 │ │ labelColor: parseColor(theme, j["label_color"]),
362 │ │ unselectedLabelColor: parseColor(theme, j["unselected_label_color"]),
363 │ │ indicatorSize: parseBool(j["indicator_tab_size"], false)!
364 │ │ ? TabBarIndicatorSize.tab
365 │ │ : TabBarIndicatorSize.label,
366 │ │ indicator: j["indicator_border_radius"] != null ||
│ └───────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/theme.dart
ERROR: A value of type 'DialogThemeData' can't be returned from the function 'parseDialogTheme' because it has a return type of 'DialogTheme?'.
lib/src/utils/theme.dart:438:10
╷
438 │ return theme.dialogTheme.copyWith(
│ ┌──────────^
439 │ │ backgroundColor: parseColor(theme, j["bgcolor"]),
440 │ │ shadowColor: parseColor(theme, j["shadow_color"]),
441 │ │ surfaceTintColor: parseColor(theme, j["surface_tint_color"]),
442 │ │ iconColor: parseColor(theme, j["icon_color"]),
443 │ │ elevation: parseDouble(j["elevation"]),
444 │ │ shape: j["shape"] != null ? outlinedBorderFromJSON(j["shape"]) : null,
445 │ │ titleTextStyle: parseTextStyle("title_text_style"),
446 │ │ contentTextStyle: parseTextStyle("content_text_style"),
447 │ │ alignment: alignmentFromJson(j["alignment"]),
│ └───────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/theme.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.16.0 |
1.19.0 | 1.19.1 |
equatable |
^2.0.3 |
2.0.7 | 2.0.7 |
file_picker |
^8.1.3 |
8.1.7 | 8.1.7 |
fl_chart |
^0.69.0 |
0.69.2 | 0.70.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_highlight |
^0.7.0 |
0.7.0 | 0.7.0 |
flutter_localizations |
flutter |
0.0.0 | 0.0.0 |
flutter_markdown |
^0.7.4+1 |
0.7.5 | 0.7.5 |
flutter_redux |
^0.10.0 |
0.10.0 | 0.10.0 |
flutter_svg |
^2.0.13 |
2.0.16 | 2.0.16 |
highlight |
^0.7.0 |
0.7.0 | 0.7.0 |
http |
^1.2.2 |
1.2.2 | 1.2.2 |
js |
^0.6.5 |
0.6.7 | 0.7.1 |
markdown |
^7.2.2 |
7.2.2 | 7.2.2 |
path |
^1.8.2 |
1.9.0 | 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.3.5 | 2.3.5 |
url_launcher |
^6.3.1 |
6.3.1 | 6.3.1 |
web_socket_channel |
^2.4.0 |
2.4.0 | 3.0.1 |
window_manager |
^0.4.3 |
0.4.3 | 0.4.3 |
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 4 issues. Showing the first 2:
The constraint `^0.69.0` on fl_chart does not support the stable version `0.70.0`, that was published 16 days ago.
When fl_chart is 30 days old, this package will no longer be awarded points in this category.
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
RETURN_OF_INVALID_TYPE
-lib/src/utils/theme.dart:356:10
- A value of type 'TabBarThemeData' can't be returned from the function 'parseTabBarTheme' because it has a return type of 'TabBarTheme?'.RETURN_OF_INVALID_TYPE
-lib/src/utils/theme.dart:438:10
- A value of type 'DialogThemeData' can't be returned from the function 'parseDialogTheme' because it has a return type of 'DialogTheme?'.RETURN_OF_INVALID_TYPE
-lib/src/utils/theme.dart:482:10
- A value of type 'CardThemeData' can't be returned from the function 'parseCardTheme' because it has a return type of 'CardTheme?'.
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.