name: Grounded
description: Grounded — a to-do app that doesn't believe you.

publish_to: 'none'

version: 1.0.0+1

environment:
  sdk: ^3.6.2

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^1.0.2

  # ── State management (MVVM) ─────────────────────────────────────────────
  stacked: ^3.5.0

  # ── HTTP / env ──────────────────────────────────────────────────────────
  dio: ^5.7.0
  flutter_dotenv: ^6.0.1

  # ── Secure storage ──────────────────────────────────────────────────────
  flutter_secure_storage: ^10.3.1
  shared_preferences: ^2.3.2

  # ── Navigation ──────────────────────────────────────────────────────────
  page_transition: ^2.0.5

  # ── Connectivity / device ───────────────────────────────────────────────
  connectivity_plus: ^7.1.1
  device_info_plus: ^12.4.0
  permission_handler: ^12.0.3
  path_provider: ^2.0.11
  uuid: ^4.5.1

  # ── Proof capture (photo / timer / location) ────────────────────────────
  camera: ^0.12.0+1
  file_picker: ^11.0.2
  image: ^4.2.0
  geolocator: ^14.0.2

  # ── Report card / charts ────────────────────────────────────────────────
  fl_chart: ^1.2.0

  # ── Notifications ───────────────────────────────────────────────────────
  flutter_local_notifications: ^21.0.0
  local_notifier: ^0.1.6

  # ── UI ──────────────────────────────────────────────────────────────────
  flutter_spinkit: ^5.1.0
  modal_bottom_sheet: ^3.0.0-pre
  smooth_page_indicator: ^2.0.1
  group_button: ^5.3.4
  pin_code_fields: ^9.3.0
  calendar_date_picker2: ^3.0.0
  photo_view: ^0.15.0
  flutter_animate: ^4.5.0
  vibration: ^3.1.2
  url_launcher: ^6.1.11
  intl: ^0.20.2

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^6.0.0

  flutter_launcher_icons: ^0.14.4

  flutter_native_splash: ^2.4.6

flutter:

  uses-material-design: true

  assets:
    - assets/
    - assets/icons/
    - assets/images/
    - .env

  # General Sans (Fontshare, FFL) — see fonts/LICENSE-GeneralSans.txt
  fonts:

    - family: GroundedBold
      fonts:
        - asset: fonts/bold.ttf

    - family: GroundedLight
      fonts:
        - asset: fonts/light.ttf

    - family: GroundedRegular
      fonts:
        - asset: fonts/regular.ttf

    - family: GroundedMedium
      fonts:
        - asset: fonts/medium.ttf

# ── Launcher icon ─────────────────────────────────────────────────────────────
flutter_launcher_icons:
  image_path: "assets/icons/icon.png"
  android: "ic_launcher"
  adaptive_icon_background: "#141414"
  adaptive_icon_foreground: "assets/icons/icon_foreground.png"
  min_sdk_android: 21
  ios: true
  remove_alpha_ios: true
  web:
    generate: true
    background_color: "#141414"
    theme_color: "#141414"
  windows:
    generate: true
    icon_size: 256

# ── Native splash ─────────────────────────────────────────────────────────────
# The native splash matches the Flutter splash exactly, so the handover from
# the OS screen to the app is invisible.
flutter_native_splash:
  color: "#141414"
  image: "assets/icons/splash.png"
  android_12:
    color: "#141414"
    image: "assets/icons/icon_foreground.png"
    icon_background_color: "#141414"
  android: true
  ios: true
  web: true
