name: mobile
description: A cryptocurrency trading platform mobile app
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 5.0.0+1

environment:
  sdk: ^3.5.0

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
  flutter:
    sdk: flutter

  # State Management
  flutter_bloc: ^8.1.3
  bloc: ^8.1.2
  
  # Dependency Injection
  get_it: ^7.6.4
  injectable: ^2.3.2
  
  # HTTP Client
  dio: ^5.4.0
  
  # WebSocket
  web_socket_channel: ^3.0.3
  
  # Local Storage
  shared_preferences: ^2.5.3
  flutter_secure_storage: ^9.0.0
  path_provider: ^2.1.4
  
  # JSON Serialization
  json_annotation: ^4.8.1
  freezed_annotation: ^2.4.4
  
  # Routing
  go_router: ^12.1.3
  
  # UI
  flutter_svg: ^2.2.0
  cached_network_image: ^3.4.1
  shimmer: ^3.0.0
  flutter_html: ^3.0.0-beta.2
  google_fonts: ^6.2.1
  pull_to_refresh: ^2.0.0
  lucide_icons: ^0.257.0
  
  # QR Code (Step 3)
  qr_flutter: ^4.1.0
  mobile_scanner: ^3.5.7
  
  # Utilities
  equatable: ^2.0.5
  dartz: ^0.10.1
  intl: ^0.20.2
  
  # Payment
  flutter_stripe: ^11.5.0
  
  # Crypto
  crypto: ^3.0.3
  
  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.6
  url_launcher: ^6.2.2
  package_info_plus: ^8.3.0
  flutter_local_notifications: ^19.3.0
  k_chart_plus: ^1.0.2
  fl_chart: ^0.66.2
  google_sign_in: ^7.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter

  # Code Generation
  build_runner: ^2.5.4
  injectable_generator: ^2.4.1
  json_serializable: ^6.7.1
  freezed: ^2.5.8
  
  # Linting
  flutter_lints: ^6.0.0
  
  # Icon Generation
  flutter_launcher_icons: ^0.13.1

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  assets:
    - assets/images/
    - assets/icons/
    - assets/icons/addons/
    - assets/config/

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/to/resolution-aware-images

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/to/asset-from-package

  # 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: Poppins
    #   fonts:
    #     - asset: assets/fonts/Poppins-Regular.ttf
    #     - asset: assets/fonts/Poppins-Medium.ttf
    #       weight: 500
    #     - asset: assets/fonts/Poppins-SemiBold.ttf
    #       weight: 600
    #     - asset: assets/fonts/Poppins-Bold.ttf
    #       weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/to/font-from-package

# App Icon Configuration
flutter_launcher_icons:
  android: true
  ios: true
  image_path: "assets/icons/app_icon.png"
  min_sdk_android: 21
  
  # Android specific settings
  android_adaptive_icon:
    foreground_image: "assets/icons/app_icon.png"
    background_color: "#ffffff"
  
  # iOS specific settings
  ios_marketing: true
  remove_alpha_ios: true
  
  # Web favicon (optional)
  web:
    generate: true
    image_path: "assets/icons/app_icon.png"
