Surface/pubspec.yaml

162 lines
5.8 KiB
YAML
Raw Normal View History

2024-11-08 16:09:46 +00:00
name: surface
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.
2024-11-08 16:46:32 +00:00
publish_to: "none" # Remove this line if you wish to publish to pub.dev
2024-11-08 16:09:46 +00:00
# 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.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
# 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
native_dio_adapter: ^1.3.0
dio_smart_retry: ^7.0.1
very_good_infinite_list: ^0.9.0
freezed_annotation: ^2.4.4
json_annotation: ^4.9.0
2024-11-08 17:11:56 +00:00
gap: ^3.0.1
2024-11-09 03:16:14 +00:00
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
2024-11-09 10:28:45 +00:00
flutter_secure_storage: ^4.2.1
2024-11-09 17:04:39 +00:00
image_picker: ^1.1.2
cross_file: ^0.3.4+2
file_picker: ^8.1.3
flutter_image_compress: ^2.3.0
croppy: ^1.3.1
2024-11-09 17:34:58 +00:00
flutter_expandable_fab: ^2.3.0
2024-11-10 04:41:56 +00:00
dropdown_button2: ^2.3.9
2024-11-08 16:09:46 +00:00
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
2024-11-08 16:46:32 +00:00
icons_launcher: ^3.0.0
2024-11-08 17:11:56 +00:00
flutter_native_splash: ^2.4.2
2024-11-08 16:09:46 +00:00
# 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:
2024-11-09 10:28:45 +00:00
- assets/icon/icon.png
2024-11-08 16:09:46 +00:00
- 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
2024-11-08 16:46:32 +00:00
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: false
image_path: "assets/icon/icon-light-radius-mac.png"
windows:
enable: false
image_path: "assets/icon/icon-light-radius.png"
linux:
enable: false
image_path: "assets/icon/icon-light-radius.png"
2024-11-08 17:11:56 +00:00
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