Files
flutter/pubspec.yaml
Roland Geider 8213c44342 Add "login via web"
This allows the user to login via all supported methods, such as social auth,
passkeys, etc. without needing to implement them individually here.
2026-05-22 20:11:14 +02:00

159 lines
4.9 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: 1.11.0+200
environment:
sdk: '>=3.10.0 <4.0.0'
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
app_links: ^6.3.2
carousel_slider: ^5.1.2
clock: ^1.1.2
collection: ^1.18.0
cupertino_icons: ^1.0.9
drift: ^2.33.0
equatable: ^2.0.8
extended_image: ^10.0.1
fl_chart: ^1.2.0
flex_color_scheme: ^8.3.1
flutter_html: ^3.0.0
flutter_secure_storage: ^10.2.0
flutter_staggered_grid_view: ^0.7.0
flutter_svg: ^2.3.0
flutter_svg_icons: ^0.0.1
flutter_typeahead: ^6.0.0
flutter_zxing: ^2.2.1
font_awesome_flutter: ^11.0.0
freezed_annotation: ^3.0.0
http: ^1.6.0
image_picker: ^1.2.2
intl: ^0.20.0
json_annotation: ^4.11.0
markdown: ^7.3.0
multi_select_flutter: ^4.1.3
package_info_plus: ^10.0.0
path: ^1.9.0
path_provider: ^2.1.5
shared_preferences: ^2.5.5
table_calendar: ^3.0.8
url_launcher: ^6.3.2
version: ^3.0.2
video_player: ^2.11.1
logging: ^1.3.0
flutter_riverpod: ^3.1.0
riverpod_annotation: ^4.0.0
drift_sqlite_async: ^0.3.0
stream_transform: ^2.1.1
state_notifier: ^1.0.0
connectivity_plus: ^7.0.0
powersync: ^2.1.0
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
build_runner: ^2.15.0
cider: ^0.2.9
# Used to stub the connectivity_plus platform interface
connectivity_plus_platform_interface: ^2.1.0
drift_dev: ^2.33.0
xml: ^6.6.1
flutter_lints: ^6.0.0
flutter_native_splash: ^2.4.7
freezed: ^3.2.0
json_serializable: ^6.13.0
mockito: ^5.6.4
network_image_mock: ^2.1.1
plugin_platform_interface: ^2.1.8
riverpod_generator: ^4.0.3
shared_preferences_platform_interface: ^2.0.0
# Script to read out unused translations
#translations_cleaner: ^0.0.5
# 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