Files
flutter/pubspec.yaml
2026-10-25 16:06:07 +01:00

180 lines
5.7 KiB
YAML

name: wger
description: Self hosted workout, nutrition and weight manager.
# The following line prevents the package from being accidentally published to
# pub.dev using `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 used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# Note: these versions are set automatically during build by the android-release.yml
# github action, the current versions are ignored.
# - the version number is taken from the git tag vX.Y.Z
# - the build number is computed by reading the last one from the play store
# and increasing by one
version: 2.1.1+280
environment:
sdk: '>=3.10.0 <4.0.0'
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
app_links: ^7.2.1
carousel_slider: ^5.1.2
clock: ^1.1.3
collection: ^1.19.1
cupertino_icons: ^2.0.0
drift: ^2.35.2
dynamic_color: ^2.1.0
equatable: ^2.1.0
extended_image: ^10.1.0
fl_chart: ^1.2.0
flex_color_scheme: ^9.0.0
flutter_html: ^3.0.0
flutter_secure_storage: ^11.2.0
flutter_staggered_grid_view: ^0.7.0
flutter_svg: ^2.3.0
flutter_typeahead: ^6.0.0
flutter_zxing: ^3.0.1
font_awesome_flutter: ^11.0.0
freezed_annotation: ^3.1.0
# A maintained fork of `health` 13.3.1. We need its per-type authorization
# snapshot (see HealthRepository.readableTypes) plus its Health Connect and
# iOS crash fixes, none of which upstream has picked up.
health_bridge:
git:
url: https://github.com/ytsni/health_bridge.git
ref: v2.0.0
http: ^1.6.0
image_picker: ^1.2.3
intl: ^0.20.2
json_annotation: ^4.12.0
markdown: ^7.3.1
multi_select_flutter: ^4.1.3
package_info_plus: ^10.2.1
path: ^1.9.1
path_provider: ^2.1.6
shared_preferences: ^2.5.6
table_calendar: ^3.2.0
url_launcher: ^6.3.2
version: ^3.0.2
video_player: ^2.14.0
logging: ^1.3.0
flutter_riverpod: ^3.3.2
riverpod_annotation: ^4.0.3
drift_sqlite_async: ^0.3.1
stream_transform: ^2.1.2
state_notifier: ^1.0.0
connectivity_plus: ^7.3.2
powersync: ^2.4.0
flutter_timezone: ^5.1.0
timezone: ^0.11.1
material_ui: ^1.6.0
flutter_local_notifications: ^22.3.3
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
build_runner: ^2.16.2
cider: ^0.2.10
fake_async: ^1.3.1
# Used to stub the connectivity_plus platform interface
connectivity_plus_platform_interface: ^2.1.0
# Used to stub the url_launcher platform interface for the web-handoff test
url_launcher_platform_interface: ^2.3.2
drift_dev: ^2.34.0
xml: ^7.0.1
flutter_lints: ^6.0.0
flutter_native_splash: ^2.4.8
freezed: ^4.0.2
# Used to strip the alpha channel from the generated store screenshots
image: ^4.10.1
json_serializable: ^6.14.1
mockito: ^5.6.4
network_image_mock: ^2.1.1
plugin_platform_interface: ^2.1.8
riverpod_generator: ^4.0.4
shared_preferences_platform_interface: ^2.4.2
# Script to read out unused translations
#translations_cleaner: ^0.0.5
dependency_overrides:
# html 0.15.7 removed matches(), which breaks flutter_html 3.0.0
# https://github.com/Sub6Resources/flutter_html/issues/1515
html: 0.15.6
# 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.
flutter:
config:
enable-swift-package-manager: true
# 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/animations/
- assets/images/
- assets/images/muscles/
- assets/images/muscles/main/
- assets/images/muscles/secondary/
- assets/icons/
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# 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: RobotoCondensed
fonts:
- asset: assets/fonts/RobotoCondensed-VariableFont_wght.ttf
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
generate: true
# Native splash screen configuration. Regenerate with:
# dart run flutter_native_splash:create
flutter_native_splash:
color: "#ffffff"
image: assets/images/logo-512.png
color_dark: "#2a4c7d"
image_dark: assets/images/logo-white.png
android_12:
color: "#ffffff"
image: assets/images/logo-512.png
color_dark: "#2a4c7d"
image_dark: assets/images/logo-white.png
android: true
ios: true
web: false