Files
deflock-app/pubspec.yaml
Doug Borg 4a342aee9d Bump Dart SDK constraint to >=3.8.0 and document Flutter 3.35+ requirement
The RadioGroup widget (merged via PR #35) requires Flutter 3.35+ /
Dart 3.8+. The old constraint (>=3.5.0) allowed older SDKs that don't
have RadioGroup, causing cryptic build errors instead of a clear
version mismatch from pub get.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 13:54:42 -07:00

75 lines
1.6 KiB
YAML

name: deflockapp
description: Map public surveillance infrastructure with OpenStreetMap
publish_to: "none"
version: 2.6.4+47 # The thing after the + is the version code, incremented with each release
environment:
sdk: ">=3.8.0 <4.0.0" # RadioGroup widget requires Dart 3.8+ (Flutter 3.35+)
dependencies:
flutter:
sdk: flutter
# UI & Map
provider: ^6.1.2
flutter_map: ^8.2.1
flutter_map_animations: ^0.9.0
latlong2: ^0.9.0
geolocator: ^10.1.0
http: ^1.2.1
flutter_svg: ^2.0.10
xml: ^6.4.2
flutter_local_notifications: ^17.2.2
url_launcher: ^6.3.0
flutter_linkify: ^6.0.0
app_links: ^6.1.4
# Auth, storage, prefs
oauth2_client: ^4.2.0
flutter_web_auth_2: 5.0.0-alpha.3
flutter_secure_storage: 10.0.0-beta.4
# Persistence
shared_preferences: ^2.2.2
sqflite: ^2.4.1
path: ^1.8.3
path_provider: ^2.1.0
uuid: ^4.0.0
package_info_plus: ^8.0.0
csv: ^6.0.0
collection: ^1.18.0
dev_dependencies:
flutter_test:
sdk: flutter
mocktail: ^1.0.4
flutter_launcher_icons: ^0.14.4
flutter_lints: ^6.0.0
flutter_native_splash: ^2.4.6
flutter:
uses-material-design: true
assets:
- assets/app_icon.png
- assets/android_app_icon.png
- assets/transparent_1x1.png
- assets/deflock-logo.svg
- assets/changelog.json
- lib/localizations/
flutter_launcher_icons:
android: true
ios: true
image_path: "assets/app_icon.png"
min_sdk_android: 21
adaptive_icon_background: "assets/android_app_icon.png"
adaptive_icon_foreground: "assets/transparent_1x1.png"
flutter_native_splash:
color: "#152131"
image: assets/app_icon.png
android_12:
android: true
ios: true