Surface/pubspec.yaml

214 lines
7.1 KiB
YAML

name: surface
description: "The application for Solar Network"
# 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: 2.1.1+39
environment:
sdk: ^3.5.4
# 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
flutter_web_plugins:
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
go_router: ^14.4.1
provider: ^6.1.2
easy_localization: ^3.0.7
easy_localization_loader: ^2.0.2
styled_widget: ^0.4.1
material_symbols_icons: ^4.2789.0
responsive_framework: ^1.5.1
animations: ^2.0.11
dio: ^5.7.0
dio_smart_retry: ^7.0.1
very_good_infinite_list: ^0.9.0
freezed_annotation: ^2.4.4
json_annotation: ^4.9.0
gap: ^3.0.1
markdown: ^7.2.2
flutter_markdown: ^0.7.4+1
url_launcher: ^6.3.1
cached_network_image: ^3.4.1
flutter_animate: ^4.5.0
syntax_highlight: ^0.4.0
google_fonts: ^6.2.1
path: ^1.9.0
relative_time: ^5.0.0
image_picker: ^1.1.2
cross_file: ^0.3.4+2
file_picker: ^8.1.6 # pinned due to compile failed on android, https://github.com/miguelpruivo/flutter_file_picker/issues/1643
croppy: ^1.3.1
flutter_expandable_fab: ^2.3.0
dropdown_button2: ^2.3.9
flutter_context_menu: ^0.2.0
dismissible_page: ^1.0.2
uuid: ^4.5.1
photo_view: ^0.15.0
shared_preferences: ^2.3.3
path_provider: ^2.1.5
collection: ^1.18.0
mime: ^2.0.0
web_socket_channel: ^3.0.1
hive: ^2.2.3
hive_flutter: ^1.1.0
swipe_to: ^1.0.6
firebase_core: ^3.8.0
firebase_messaging: ^15.1.5
firebase_analytics: ^11.3.5
flutter_udid: ^4.0.0
media_kit: ^1.1.11
media_kit_video: ^1.2.5
media_kit_libs_video: ^1.0.5
pasteboard: ^0.3.0
synchronized: ^3.3.0+3
dart_webrtc: ^1.4.10
livekit_client: ^2.3.1+hotfix.1
wakelock_plus: ^1.2.8
permission_handler: ^11.3.1
flutter_staggered_grid_view: ^0.7.0
popover: ^0.3.1
sliver_tools: ^0.2.12
bitsdojo_window: ^0.1.6
gal: ^2.3.0
share_plus: ^10.1.2
email_validator: ^3.0.0
package_info_plus: ^8.1.1
intl: ^0.19.0
screenshot: ^3.0.0
qr_flutter: ^4.1.0
file_saver: ^0.2.14
device_info_plus: ^11.2.0
marquee: ^2.3.0
flutter_svg: ^2.0.16
home_widget: ^0.7.0
receive_sharing_intent: ^1.8.1
workmanager: ^0.5.2
flutter_app_update: ^3.2.2
in_app_review: ^2.0.10
version: ^3.0.2
flutter_colorpicker: ^1.1.0
fl_chart: ^0.70.0
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: ^5.0.0
build_runner: ^2.4.13
freezed: ^2.5.7
json_serializable: ^6.8.0
icons_launcher: ^3.0.0
flutter_native_splash: ^2.4.2
hive_generator: ^2.0.1
flutter_launcher_icons: ^0.14.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/icon/icon.png
- assets/icon/icon-dark.png
- assets/icon/icon-light-radius.png
- assets/translations/
# 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
icons_launcher:
image_path: "assets/icon/icon.png"
platforms:
android:
enable: true
image_path: "assets/icon/icon.png"
notification_image: "assets/icon/icon.png"
adaptive_background_color: "#ffffff"
adaptive_foreground_image: "assets/icon/icon.png"
adaptive_monochrome_image: "assets/icon/icon-dark.png"
ios:
enable: true
image_path: "assets/icon/icon-light.png"
dark_path: "assets/icon/icon-dark.png"
tinted_path: "assets/icon/icon-dark.png"
web:
enable: true
image_path: "assets/icon/icon-light-radius.png"
favicon_path: "assets/icon/icon-light-radius.png"
macos:
enable: true
image_path: "assets/icon/icon-light-radius-mac.png"
windows:
enable: true
image_path: "assets/icon/icon-light-radius.png"
linux:
enable: true
image_path: "assets/icon/icon-light-radius.png"
flutter_native_splash:
image: "assets/icon/icon-light-radius-mac.png"
color: "#ffffff"
color_dark: "#000000"
branding: "assets/icon/branding-light.png"
branding_dark: "assets/icon/branding-dark.png"
branding_bottom_padding: 24