Update webview_flutter_android dependency handling

Moved webview_flutter_android to be conditionally included based on the presence of 'flet_webview' in dependencies. Cleaned up commented-out geolocator dependencies.
This commit is contained in:
Feodor Fitsner 2025-10-20 10:10:27 -07:00
parent 39deadd45d
commit a86f0d3df8
1 changed files with 1 additions and 7 deletions

View File

@ -38,21 +38,15 @@ dependency_overrides:
wakelock_plus: ^1.2.10 wakelock_plus: ^1.2.10
web: ^1.0.0 web: ^1.0.0
window_manager: ^0.4.3 window_manager: ^0.4.3
webview_flutter_android: 4.10.1
# {% if 'flet_webview' in cookiecutter.flutter.dependencies %} # {% if 'flet_webview' in cookiecutter.flutter.dependencies %}
#webview_flutter_android: 4.10.1 webview_flutter_android: 4.10.1
# {% endif %} # {% endif %}
# {% if 'flet_audio_recorder' in cookiecutter.flutter.dependencies %} # {% if 'flet_audio_recorder' in cookiecutter.flutter.dependencies %}
record: ^5.1.1 record: ^5.1.1
# {% endif %} # {% endif %}
# {% if 'flet_geolocator' in cookiecutter.flutter.dependencies %}
# geolocator: ^12.0.0
# geolocator_android: ^4.6.0
# {% endif %}
dev_dependencies: dev_dependencies:
flutter_launcher_icons: ^0.14.1 flutter_launcher_icons: ^0.14.1
flutter_native_splash: ^2.4.1 flutter_native_splash: ^2.4.1