name: tugas_akhir_supabase
description: "A new Flutter project."

publish_to: "none" # Remove this line if you wish to publish to pub.dev

version: 1.0.0+2002

environment:
  sdk: ^3.7.2

dependencies:
  flutter:
    sdk: flutter
  shared_preferences: ^2.5.3
  flutter_bloc: ^8.1.4

  cupertino_icons: ^1.0.8
  supabase_flutter: ^2.9.0
  geolocator: ^14.0.2
  weather: ^3.2.1
  pin_code_fields: ^8.0.1
  intl: ^0.20.2
  table_calendar: ^3.2.0
  image_picker: ^1.1.2
  google_fonts: ^6.2.1
  smooth_page_indicator: ^1.2.1
  image: ^4.1.3
  shimmer: ^3.0.0
  flutter_staggered_animations: ^1.1.1
  cached_network_image: ^3.4.1
  flutter_slidable: ^4.0.0
  percent_indicator: ^4.2.5
  fl_chart: ^1.0.0
  crypto: ^3.0.6
  uuid: ^4.5.1
  url_launcher: ^6.3.1
  flutter_linkify: ^6.0.0
  flutter_svg: ^2.0.9
  simplytranslate: ^2.2.2
  translator: ^1.0.3+1
  flutter_launcher_icons: ^0.13.1
  dartz: ^0.10.1
  get_it: ^8.0.3
  pdf: ^3.11.3
  open_file: ^3.5.10
  share_plus: ^11.0.0
  lottie: ^2.7.0
  flutter_native_splash: ^2.4.4
  emoji_picker_flutter: ^4.3.0
  http: ^1.4.0
  path_provider: ^2.1.5
  permission_handler: ^12.0.0+1
  just_audio: ^0.10.3
  audioplayers: ^6.4.0
  flutter_tts: ^4.2.2
  auto_size_text: ^3.0.0
  carousel_slider: ^5.1.1
  webview_flutter: ^4.13.0
  image_picker_platform_interface: ^2.10.1
  google_maps_flutter: ^2.12.3
  geocoding: ^4.0.0
  flutter_map: ^6.1.0
  latlong2: ^0.9.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  mockito: ^5.4.4
  build_runner: ^2.4.8

  flutter_lints: ^5.0.0

flutter:
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  assets:
    - assets/images/
    - assets/audio/
    - assets/images/logo.png

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/to/font-from-package

flutter_native_splash:
  color: "#000000"
  image: assets/images/logo.png
  branding: assets/images/logo.png
  color_dark: "#000000"
  image_dark: assets/images/logo.png
  branding_dark: assets/images/logo.png

  # Mengurangi durasi native splash agar cepat berganti ke custom splash
  android_12:
    image: assets/images/logo.png
    icon_background_color: "#000000"
    # Mengurangi durasi native splash
    android_screen_orientation: portrait

  # Pastikan native splash dimatikan untuk platform web
  web: false

  # Tambahkan parameter untuk menentukan rute setelah splash
  # Ini akan menonaktifkan native splash setelah app siap
  # dan membiarkan custom splash yang kita buat mengambil alih
  fullscreen: true

  # Parameter untuk memastikan native splash cepat hilang
  # setelah inisialisasi aplikasi
  fade_in_duration: 200
  fade_out_duration: 200
