flet 0.22.0 copy "flet: ^0.22.0" to clipboard
flet: ^0.22.0 copied to clipboard

Write entire Flutter app in Python or add server-driven UI experience into existing Flutter app.

46
likes
90/ 140
pub points
83%
popularity

We analyzed this package 12 hours ago, and awarded it 90 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

39 out of 271 API elements (14.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.

Some symbols that are missing documentation: flet, flet.AppState, flet.AppState.AppState, flet.AppState.assetsDir, flet.AppState.controls.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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: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.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/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:flet/src/utils/desktop.dart that imports:
  • package:window_to_front/window_to_front.dart that declares support for platforms: Windows, Linux, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

lib/src/controls/datatable.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/src/controls/divider.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
collection ^1.16.0 1.18.0 1.18.0
equatable ^2.0.3 2.0.5 2.0.5
file_picker ^6.1.1 6.2.1 8.0.2
fl_chart ^0.65.0 0.65.0 0.67.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.6.18+2 0.6.23 0.7.1
flutter_redux ^0.10.0 0.10.0 0.10.0
flutter_svg ^2.0.9 2.0.10+1 2.0.10+1
highlight ^0.7.0 0.7.0 0.7.0
http ^1.1.2 1.2.1 1.2.1
js ^0.6.5 0.6.7 0.7.1
markdown ^7.1.1 7.2.2 7.2.2
path ^1.8.2 1.9.0 1.9.0
redux ^5.0.0 5.0.0 5.0.0
sensors_plus ^4.0.2 4.0.2 5.0.1
shared_preferences ^2.0.15 2.2.3 2.2.3
url_launcher ^6.1.5 6.2.6 6.2.6
web_socket_channel ^2.4.0 2.4.5 2.4.5
window_manager ^0.3.7 0.3.8 0.3.8
window_to_front ^0.0.3 0.0.3 0.0.3
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_plugin_android_lifecycle - 2.0.19 2.0.19
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
intl - 0.18.1 0.19.0
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path_parsing - 1.0.1 1.0.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
screen_retriever - 0.1.9 0.1.9
sensors_plus_platform_interface - 1.2.0 1.2.0
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.3.5 2.3.5
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
vector_graphics - 1.1.11+1 1.1.11+1
vector_graphics_codec - 1.1.11+1 1.1.11+1
vector_graphics_compiler - 1.1.11+1 1.1.11+1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 5 issues. Showing the first 2:

The constraint `^6.1.1` on file_picker does not support the stable version `7.0.2`.

Try running dart pub upgrade --major-versions file_picker to update the constraint.

The constraint `^0.65.0` on fl_chart does not support the stable version `0.66.0`.

Try running dart pub upgrade --major-versions fl_chart to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.