From ed1763ecec71ad57f04cc773fd04a3dbd804a381 Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Wed, 19 Jun 2024 22:31:10 -0700 Subject: [PATCH] conditional dependencies --- {{cookiecutter.out_dir}}/pubspec.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.out_dir}}/pubspec.yaml b/{{cookiecutter.out_dir}}/pubspec.yaml index e149197..a9210b4 100644 --- a/{{cookiecutter.out_dir}}/pubspec.yaml +++ b/{{cookiecutter.out_dir}}/pubspec.yaml @@ -21,14 +21,22 @@ dependencies: dependency_overrides: wakelock_plus: ^1.2.5 package_info_plus: ^8.0.0 + +# {% 'flet_audio_recorder' in cookiecutter.flutter.dependencies %} record: ^5.1.1 +# {% endif %} + +# {% 'flet_geolocator' in cookiecutter.flutter.dependencies %} geolocator: ^12.0.0 geolocator_android: ^4.6.0 - +# {% endif %} + +# {% 'flet_flashlight' in cookiecutter.flutter.dependencies %} torch_light: git: url: https://github.com/flet-dev/torch_light.git ref: android-namespace +# {% endif %} serious_python_android: git: