A whole bunch of changes
This commit is contained in:
parent
901ec678a3
commit
956231048e
122 changed files with 5442 additions and 914 deletions
59
pubspec.yaml
59
pubspec.yaml
|
|
@ -91,6 +91,7 @@ dependencies:
|
|||
flutter_secure_storage: ^10.0.0
|
||||
pdf: ^3.12.0
|
||||
printing: ^5.14.3
|
||||
url_launcher: ^6.3.2
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
|
@ -116,6 +117,52 @@ dev_dependencies:
|
|||
# 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
|
||||
|
||||
|
|
@ -127,10 +174,14 @@ flutter:
|
|||
# the material Icons class.
|
||||
uses-material-design: true
|
||||
|
||||
# To add assets to your application, add an assets section, like this:
|
||||
# assets:
|
||||
# - images/a_dot_burr.jpeg
|
||||
# - images/a_dot_ham.jpeg
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue