mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
161 lines
5.9 KiB
YAML
161 lines
5.9 KiB
YAML
name: qinglong_app
|
|
description: A new Flutter project.
|
|
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|
version: 1.1.0+110
|
|
|
|
environment:
|
|
sdk: ">=2.15.1 <3.0.0"
|
|
flutter: ">=2.10.1"
|
|
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
cupertino_icons: ^1.0.5
|
|
flutter_riverpod: ^1.0.4
|
|
shared_preferences: ^2.0.15
|
|
synchronized: ^3.0.0+2
|
|
back_button_interceptor: ^6.0.0
|
|
flutter_slidable: ^1.3.0
|
|
dio: ^4.0.6
|
|
dio_log: ^2.0.2
|
|
json_conversion_annotation: ^0.0.4
|
|
logger: ^1.1.0
|
|
intl: ^0.17.0
|
|
get_it: ^7.2.0
|
|
highlight: ^0.7.0
|
|
drag_and_drop_lists: ^0.3.2+2
|
|
fluttertoast: ^8.0.9
|
|
move_to_background: ^1.0.2
|
|
flip_card: ^0.6.0
|
|
package_info_plus: ^1.4.2
|
|
url_launcher: ^6.1.3
|
|
flutter_colorpicker: ^1.0.3
|
|
widget_with_codeview: ^2.0.1+2
|
|
code_text_field: ^1.0.2
|
|
share_plus: ^4.0.7
|
|
flutter_animator: ^3.2.1
|
|
modal_bottom_sheet: ^2.0.1
|
|
|
|
# flutter pub run build_runner build --delete-conflicting-outputs
|
|
# flutter pub run change_app_package_name:main work.master.qinglongapp
|
|
# flutter pub run flutter_native_splash:create
|
|
# flutter pub run flutter_launcher_icons:main
|
|
# flutter pub run flutter_app_name
|
|
|
|
dev_dependencies:
|
|
flutter_native_splash: ^2.0.5
|
|
flutter_launcher_icons: ^0.9.2
|
|
change_app_package_name: ^1.0.0
|
|
flutter_app_name: ^0.1.1
|
|
|
|
build_runner: ^2.1.7
|
|
json_conversion: ^0.0.4
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
|
|
flutter_lints: ^1.0.4
|
|
|
|
flutter:
|
|
|
|
uses-material-design: true
|
|
|
|
assets:
|
|
- assets/images/
|
|
flutter_app_name:
|
|
name: "青龙客户端"
|
|
|
|
flutter_icons:
|
|
image_path_android: "assets/images/ql.png"
|
|
image_path_ios: "assets/images/ql_white.png"
|
|
android: true # can specify file name here e.g. "ic_launcher"
|
|
ios: true # can specify file name here e.g. "My-Launcher-Icon"
|
|
|
|
|
|
flutter_native_splash:
|
|
|
|
# This package generates native code to customize Flutter's default white native splash screen
|
|
# with background color and splash image.
|
|
# Customize the parameters below, and run the following command in the terminal:
|
|
# flutter pub run flutter_native_splash:create
|
|
# To restore Flutter's default white splash screen, run the following command in the terminal:
|
|
# flutter pub run flutter_native_splash:remove
|
|
|
|
# color or background_image is the only required parameter. Use color to set the background
|
|
# of your splash screen to a solid color. Use background_image to set the background of your
|
|
# splash screen to a png image. This is useful for gradients. The image will be stretch to the
|
|
# size of the app. Only one parameter can be used, color and background_image cannot both be set.
|
|
color: "#ffffff"
|
|
#background_image: "assets/background.png"
|
|
|
|
# Optional parameters are listed below. To enable a parameter, uncomment the line by removing
|
|
# the leading # character.
|
|
|
|
# The image parameter allows you to specify an image used in the splash screen. It must be a
|
|
# png file and should be sized for 4x pixel density.
|
|
image: assets/images/ql.png
|
|
|
|
# This property allows you to specify an image used as branding in the splash screen. It must be
|
|
# a png file. Currently, it is only supported for Android and iOS.
|
|
# branding: assets/dart.png
|
|
|
|
# Specify your branding image for dark mode.
|
|
# branding_dark: assets/dart_dark.png
|
|
|
|
# To position the branding image at the bottom of the screen you can use bottom, bottomRight,
|
|
# and bottomLeft. The default values is bottom if not specified or specified something else.
|
|
#
|
|
# Make sure this content mode value should not be similar to android_gravity value and ios_content_mode
|
|
# value.
|
|
# branding_mode: bottom
|
|
|
|
# The color_dark, background_image_dark, and image_dark are parameters that set the background
|
|
# and image when the device is in dark mode. If they are not specified, the app will use the
|
|
# parameters from above. If the image_dark parameter is specified, color_dark or
|
|
# background_image_dark must be specified. color_dark and background_image_dark cannot both be
|
|
# set.
|
|
color_dark: "#000000"
|
|
# background_image_dark: "assets/dark-background.png"
|
|
# image_dark: assets/splash-invert.png
|
|
|
|
# The android, ios and web parameters can be used to disable generating a splash screen on a given
|
|
# platform.
|
|
#android: false
|
|
#ios: false
|
|
#web: false
|
|
|
|
# The position of the splash image can be set with android_gravity, ios_content_mode, and
|
|
# web_image_mode parameters. All default to center.
|
|
#
|
|
# android_gravity can be one of the following Android Gravity (see
|
|
# https://developer.android.com/reference/android/view/Gravity): bottom, center,
|
|
# center_horizontal, center_vertical, clip_horizontal, clip_vertical, end, fill, fill_horizontal,
|
|
# fill_vertical, left, right, start, or top.
|
|
#android_gravity: center
|
|
#
|
|
# ios_content_mode can be one of the following iOS UIView.ContentMode (see
|
|
# https://developer.apple.com/documentation/uikit/uiview/contentmode): scaleToFill,
|
|
# scaleAspectFit, scaleAspectFill, center, top, bottom, left, right, topLeft, topRight,
|
|
# bottomLeft, or bottomRight.
|
|
#ios_content_mode: center
|
|
#
|
|
# web_image_mode can be one of the following modes: center, contain, stretch, and cover.
|
|
#web_image_mode: center
|
|
|
|
# To hide the notification bar, use the fullscreen parameter. Has no affect in web since web
|
|
# has no notification bar. Defaults to false.
|
|
# NOTE: Unlike Android, iOS will not automatically show the notification bar when the app loads.
|
|
# To show the notification bar, add the following code to your Flutter app:
|
|
# WidgetsFlutterBinding.ensureInitialized();
|
|
# SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom, SystemUiOverlay.top]);
|
|
fullscreen: false
|
|
|
|
# If you have changed the name(s) of your info.plist file(s), you can specify the filename(s)
|
|
# with the info_plist_files parameter. Remove only the # characters in the three lines below,
|
|
# do not remove any spaces:
|
|
#info_plist_files:
|
|
# - 'ios/Runner/Info-Debug.plist'
|
|
# - 'ios/Runner/Info-Release.plist' |