219 lines
8.4 KiB
YAML
219 lines
8.4 KiB
YAML
name: fuel_tax_tracker
|
|
description: "A new Flutter project."
|
|
# 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: 1.0.0+2
|
|
|
|
environment:
|
|
sdk: ^3.12.2
|
|
|
|
# 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
|
|
|
|
# The following adds the Cupertino Icons font to your application.
|
|
# Use with the CupertinoIcons class for iOS style icons.
|
|
cupertino_icons: ^1.0.8
|
|
|
|
# State management
|
|
provider: ^6.1.2
|
|
|
|
# Camera capture
|
|
image_picker: ^1.1.2
|
|
|
|
# On-device OCR text recognition
|
|
google_mlkit_text_recognition: ^0.15.0
|
|
|
|
# App sandbox paths (local offline staging area)
|
|
path_provider: ^2.1.5
|
|
|
|
# Persist small settings (Drive connection state, last synced time)
|
|
shared_preferences: ^2.3.4
|
|
|
|
# Unique IDs for vehicles/fuel entries
|
|
uuid: ^4.5.1
|
|
|
|
# Date formatting
|
|
intl: ^0.20.2
|
|
|
|
# Path joining/manipulation helpers
|
|
path: ^1.9.0
|
|
|
|
# Google OAuth sign-in for Drive access
|
|
google_sign_in: ^7.1.1
|
|
|
|
# Google Drive API client
|
|
googleapis: ^14.0.0
|
|
|
|
# HTTP client interface (for the authenticated client we hand to DriveApi)
|
|
http: ^1.2.2
|
|
|
|
# Detect connectivity changes to trigger background sync
|
|
connectivity_plus: ^6.1.0
|
|
|
|
# Local SQLite database
|
|
sqflite: ^2.4.1
|
|
|
|
# Browser-based OAuth2 (PKCE) redirect capture for Dropbox/OneDrive —
|
|
# unlike Google, neither has an official Flutter sign-in package.
|
|
flutter_web_auth_2: ^5.1.0
|
|
|
|
# PKCE code_verifier/code_challenge generation (SHA-256 + base64url)
|
|
crypto: ^3.0.5
|
|
|
|
# WebDAV multistatus (PROPFIND) response parsing — for self-hosted
|
|
# personal cloud servers (Nextcloud, ownCloud, a bare Apache/nginx WebDAV
|
|
# server, etc).
|
|
xml: ^6.6.1
|
|
|
|
# OS-backed encrypted storage (Keystore/Keychain) for WebDAV credentials,
|
|
# so sign-in survives a cold app restart instead of living in memory only.
|
|
flutter_secure_storage: ^10.0.0
|
|
pdf: ^3.12.0
|
|
printing: ^5.14.3
|
|
url_launcher: ^6.3.2
|
|
|
|
# AdMob interstitial shown once per app session, right before the first
|
|
# sync's upload-to-cloud phase — see lib/services/ad_service.dart.
|
|
google_mobile_ads: ^9.1.0
|
|
|
|
# One-time "remove ads for a year" purchase — see
|
|
# lib/services/purchase_service.dart.
|
|
in_app_purchase: ^3.3.0
|
|
in_app_purchase_android: ^0.5.2
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
# Pure-Dart/FFI SQLite backend so database logic (the ATTACH-based merge)
|
|
# can be unit tested on the Dart VM, without a real Android/iOS device.
|
|
sqflite_common_ffi: ^2.3.4+4
|
|
|
|
# Platform-interface for faking FlutterSecureStoragePlatform.instance in
|
|
# webdav_provider_credentials_test.dart, same pattern as faking
|
|
# PathProviderPlatform.instance elsewhere.
|
|
flutter_secure_storage_platform_interface: ^2.0.3
|
|
|
|
# For faking PathProviderPlatform in cloud_sync_service_test.dart
|
|
path_provider_platform_interface: ^2.1.2
|
|
plugin_platform_interface: ^2.1.8
|
|
|
|
# The "flutter_lints" package below contains a set of recommended lints to
|
|
# encourage good coding practices. The lint set provided by the package is
|
|
# activated in the `analysis_options.yaml` file located at the root of your
|
|
# package. See that file for information about deactivating specific lint
|
|
# rules and activating additional ones.
|
|
flutter_lints: ^6.0.0
|
|
|
|
# Generates the Android/iOS launcher icon files from assets/icon/app_icon.png
|
|
# — run `dart run flutter_launcher_icons` after changing that source image.
|
|
flutter_launcher_icons: ^0.14.4
|
|
|
|
# Generates the native (pre-Dart-engine) splash screen shown at cold
|
|
# start — run `dart run flutter_native_splash:create` after changing
|
|
# assets/splash/*. Separate from flutter_launcher_icons: without this,
|
|
# Android falls back to its own default Splash Screen behavior, which
|
|
# wraps the launcher icon in a small icon-in-a-white-circle look we don't
|
|
# control at all.
|
|
flutter_native_splash: ^2.4.8
|
|
|
|
flutter_launcher_icons:
|
|
android: true
|
|
ios: true
|
|
image_path: "assets/icon/app_icon.png"
|
|
# The source image is a full-bleed square with its own rounded corners
|
|
# already baked in via real alpha transparency (not a white margin), so
|
|
# each platform's own icon masking just clips already-transparent pixels
|
|
# — no double-rounding artifact. iOS icons must be fully opaque (the App
|
|
# Store rejects alpha, and the OS doesn't composite icon transparency the
|
|
# way Android does), so flatten alpha to a solid background there only.
|
|
remove_alpha_ios: true
|
|
|
|
flutter_native_splash:
|
|
# Pre-Android-12 (and iOS): no OS-imposed circular mask, so this can be
|
|
# sized generously — the brand mark centered on a solid background that
|
|
# matches the app icon's own green, so there's no white border/seam.
|
|
color: "#24603A"
|
|
color_dark: "#101110"
|
|
image: assets/splash/splash_logo.png
|
|
image_dark: assets/splash/splash_logo.png
|
|
|
|
android_12:
|
|
# Android 12+ handles splash screens itself: a background color, an
|
|
# icon, and (optionally) a separate icon background color — it enforces
|
|
# its own circular mask no matter what we provide (clips the outer
|
|
# third), so splash_logo_android12.png is pre-fit to stay inside that
|
|
# safe circle rather than relying on this package to size it for us.
|
|
color: "#24603A"
|
|
color_dark: "#101110"
|
|
icon_background_color: "#24603A"
|
|
icon_background_color_dark: "#101110"
|
|
image: assets/splash/splash_logo_android12.png
|
|
image_dark: assets/splash/splash_logo_android12.png
|
|
|
|
# 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
|
|
|
|
# The brand mark shown between the two stats in the Receipts tab's hero
|
|
# banner (see ReceiptsScreen) — distinct from assets/icon/app_icon.png,
|
|
# which flutter_launcher_icons reads at build time and never ships inside
|
|
# the app bundle itself.
|
|
assets:
|
|
- assets/icon/hero_icon.png
|
|
- assets/vin_help/door_jamb.jpg
|
|
- assets/vin_help/windshield.jpg
|
|
|
|
# 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: 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
|