name: frontend
description: "OOTT - Easy to setup and use network device discovery and alert system"
publish_to: "none"
version: 0.1.2

environment:
  sdk: ^3.10.8

dependencies:
  flutter:
    sdk: flutter
  go_router: ^17.1.0
  intl: ^0.20.2
  provider: ^6.1.5
  dio: ^5.9.1
  dio_smart_retry: ^7.0.1
  connectivity_plus: ^7.0.0
  encrypter: ^2.0.0
  shared_preferences: ^2.5.4
  fl_chart: ^1.2.0
  google_fonts: ^6.2.1
  url_launcher: ^6.3.0
  package_info_plus: ^8.0.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^6.0.0
  http_mock_adapter: ^0.6.1
  flutter_native_splash: ^2.4.7
  flutter_launcher_icons: ^0.14.3

flutter:
  uses-material-design: true

# Native launcher / home-screen icon for every platform.
# OOTT wordmark on the brand orange (#fe8019). The square source is full-bleed
# (iOS/web/desktop apply their own corner mask); Android uses an adaptive icon
# with a transparent foreground over the orange background so it survives any
# launcher mask. Regenerate the native icon sets after changing the images:
#   dart run flutter_launcher_icons
flutter_launcher_icons:
  image_path: assets/icon/oott_icon.png
  ios: true
  remove_alpha_ios: true
  android: true
  adaptive_icon_background: "#fe8019"
  adaptive_icon_foreground: assets/icon/oott_icon_foreground.png
  macos:
    generate: true
    image_path: assets/icon/oott_icon.png
  windows:
    generate: true
    image_path: assets/icon/oott_icon.png
  web:
    generate: true
    image_path: assets/icon/oott_icon.png
    background_color: "#fe8019"
    theme_color: "#fe8019"

# Branded native launch screen (Android + iOS).
# OOTT wordmark on the Gruvbox-dark background (#1d2021).
# Regenerate native files after changing this block or the images:
#   dart run flutter_native_splash:create
flutter_native_splash:
  color: "#1d2021"
  color_dark: "#1d2021"
  image: assets/splash/oott_logo.png
  image_dark: assets/splash/oott_logo.png
  android_12:
    image: assets/splash/oott_logo_android12.png
    icon_background_color: "#1d2021"
    image_dark: assets/splash/oott_logo_android12.png
    icon_background_color_dark: "#1d2021"
  android: true
  ios: true
  web: false
