glp-companion/pubspec.yaml

74 lines
1.8 KiB
YAML

name: glp1_companion
description: "Cross-platform GLP-1 medication, nutrition, and pantry tracking companion."
publish_to: 'none'
version: 0.1.0+1
environment:
sdk: '>=3.2.0 <4.0.0'
flutter: ">=3.16.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# State Management & DI
flutter_riverpod: ^2.5.1
riverpod_annotation: ^2.3.5
# Navigation & Routing
go_router: ^14.0.0
# Adaptive UI & Icons
cupertino_icons: ^1.0.8
# Networking & Scraping
http: ^1.2.1
html: ^0.15.4
# Persistence & Secure Storage
# drift 2.35+ pairs with package:sqlite3 3.x, which bundles SQLite through
# build hooks (see `hooks:` below) instead of the retired platform plugins.
drift: ^2.35.2
drift_flutter: ^0.3.1
flutter_secure_storage: ^9.0.0
# Multi-Platform Health & Background Tasks
health: 13.3.1
flutter_local_notifications: ^17.1.0
crypto: ^3.0.3
flutter_dotenv: ^5.1.0
logging: ^1.3.0
supabase_flutter: ^2.5.0
url_launcher: ^6.3.0
path: ^1.9.1
path_provider: ^2.1.6
sqlite3: ^3.4.0
# Scheduling support for flutter_local_notifications (zonedSchedule).
timezone: ^0.9.4
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.0
# NOTE: riverpod_generator was removed because the 2.x code-generation line
# caps `analyzer <8.0.0`, which cannot parse the Dart 3.13 SDK and crashes
# build_runner. All providers in this codebase are declared manually with
# `Provider`/`StateNotifierProvider`; re-adding codegen requires the
# Riverpod 3 migration.
build_runner: ^2.16.0
drift_dev: ^2.35.1
# Compile SQLCipher into the SQLite engine bundled by package:sqlite3's build
# hooks (the sqlcipher_flutter_libs plugin is retired on sqlite3 3.x).
hooks:
user_defines:
sqlite3:
source: sqlcipher
flutter:
uses-material-design: true
assets:
- .env