generated from ttipo/project-base
e6f5cd0720
공유 시트의 '이미지로 저장'과 QR 창의 'QR 이미지 저장'이 시안처럼 휴대폰 앨범에 저장한다. 지금까지는 공유 창을 띄웠다. 웹은 앨범이 없으므로 공유 창을 그대로 쓴다. - 저장은 AlbumSaver 뒤에 두고(gal), 테스트에서는 가짜 저장기로 바꿔 끼운다. - 사진 접근을 거절해 저장하지 못하면 권한을 확인하라고 알린다. - QR 창은 배경 흐림·테두리를 시안대로, 저장하면 QR 창과 공유 시트를 함께 닫는다. - 코드 복사 안내 문구를 시안에 맞췄다. 권한: Android 는 10 미만에서만 저장 권한을 요청하고(maxSdkVersion 29), iOS 는 사진 추가 안내 문구를 넣었다. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
119 lines
4.7 KiB
YAML
119 lines
4.7 KiB
YAML
name: tma_app
|
|
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+1
|
|
|
|
environment:
|
|
sdk: ^3.11.1
|
|
|
|
# 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
|
|
dio: ^5.9.2
|
|
flutter_dotenv: ^5.2.1
|
|
flutter_riverpod: ^3.3.1
|
|
flutter_secure_storage: ^10.0.0
|
|
go_router: ^17.5.0
|
|
flutter_svg: ^2.3.0
|
|
shared_preferences: ^2.5.5
|
|
image_picker: ^1.2.3
|
|
path_provider: ^2.1.6
|
|
share_plus: ^13.3.0
|
|
qr_flutter: ^4.1.0
|
|
gal: ^2.3.3
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
# 런타임 환경변수 — flutter_dotenv 로 로드
|
|
assets:
|
|
- .env
|
|
# 시안(.design/assets) 에서 가져온 이미지. 경로 상수는 lib/core/constants/app_assets.dart
|
|
- assets/images/splash/
|
|
- assets/images/onboarding/
|
|
- assets/images/login/
|
|
- assets/svg/intro/
|
|
- assets/svg/login/
|
|
- assets/svg/common/
|
|
- assets/svg/species/
|
|
- assets/svg/mood/
|
|
- assets/svg/card_bg/
|
|
- assets/images/brand/
|
|
|
|
# 폰트 — 출처·라이선스는 assets/fonts/README.md
|
|
fonts:
|
|
# 본문(UI) 서체 — 시안의 --font-ui
|
|
- family: SUITE
|
|
fonts:
|
|
- asset: assets/fonts/SUITE-Regular.ttf
|
|
weight: 400
|
|
- asset: assets/fonts/SUITE-Medium.ttf
|
|
weight: 500
|
|
- asset: assets/fonts/SUITE-SemiBold.ttf
|
|
weight: 600
|
|
- asset: assets/fonts/SUITE-Bold.ttf
|
|
weight: 700
|
|
- asset: assets/fonts/SUITE-ExtraBold.ttf
|
|
weight: 800
|
|
# 제목 서체 — 시안의 --font-display.
|
|
# 시안은 Bold 컷을 normal 로 등록해 두고 800 을 요청해 브라우저가 한 번 더 굵게 합성한다.
|
|
# 같은 효과를 내려고 Bold 컷을 400 으로 등록한다 (굵은 weight 요청 시 엔진이 합성).
|
|
- family: ChungbukBold
|
|
fonts:
|
|
- asset: assets/fonts/ChungbukNationalUniversity-Bold.ttf
|
|
# 펫 명함 이름 등 일반 굵기가 필요한 자리
|
|
- family: Chungbuk
|
|
fonts:
|
|
- asset: assets/fonts/ChungbukNationalUniversity-Regular.ttf
|
|
weight: 400
|
|
- asset: assets/fonts/ChungbukNationalUniversity-Bold.ttf
|
|
weight: 700
|
|
# 인트로 손글씨 문구 (Right Use to Pet)
|
|
- family: UhBeeKeongKeong
|
|
fonts:
|
|
- asset: assets/fonts/UhBeeKeongKeong.ttf
|