From b2a015c9050c41a95ca5a97a583e68fd9ba4e2f5 Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Wed, 3 Dec 2025 11:50:18 -0800 Subject: [PATCH] Add screen_brightness dependency and update flet ref Added the screen_brightness package to dependencies and updated the flet dependency override to use the sensors-brightness branch. This enables brightness control functionality and ensures compatibility with the latest flet features. --- {{cookiecutter.out_dir}}/pubspec.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.out_dir}}/pubspec.yaml b/{{cookiecutter.out_dir}}/pubspec.yaml index 7e9f3cf..08dfa01 100644 --- a/{{cookiecutter.out_dir}}/pubspec.yaml +++ b/{{cookiecutter.out_dir}}/pubspec.yaml @@ -17,6 +17,7 @@ dependencies: cupertino_icons: ^1.0.6 path_provider: ^2.1.4 package_info_plus: ^9.0.0 + screen_brightness: ^2.1.0 sensors_plus: ^7.0.0 url_strategy: ^0.2.0 window_manager: ^0.5.1 @@ -27,7 +28,7 @@ dependency_overrides: flet: git: path: packages/flet - ref: sensors + ref: sensors-brightness url: https://github.com/flet-dev/flet.git serious_python: 0.9.6