flet icon indicating copy to clipboard operation
flet copied to clipboard

`pyproject.toml` for Flet project metadata, running and building settings

Open FeodorFitsner opened this issue 9 months ago • 0 comments

flet run CLI commands have a lot of options right now, especially flet build.

New controls/packages require even more settings, options, variables, etc.

We are going to use pyproject.toml with tool.flet.* tables for Flet-specific stuff.

pyproject.toml will be created with flet create command as part of the new project.

A new flet init command will be added to generate pyproject.toml file.

Flet's pyproject.toml reference (we are going to list only settings required for Flet CLI):

[project]

# ...TBD

[tool.flet]

# ...

[tool.flet.ios]

# ...

[tool.flet.android]

# ...

Permissions:

  • https://pub.dev/packages/permission_handler
  • Android: https://github.com/Baseflow/flutter-permission-handler/blob/main/permission_handler/example/android/app/src/main/AndroidManifest.xml
  • iOS: https://github.com/Baseflow/flutter-permission-handler/blob/main/permission_handler/example/ios/Runner/Info.plist

Impeller: ON/OFF - option

Windows manifest: https://learn.microsoft.com/en-us/windows/win32/hidpi/setting-the-default-dpi-awareness-for-a-process

FeodorFitsner avatar May 24 '24 03:05 FeodorFitsner