Files
worker/pubspec.yaml
2025-11-07 15:55:02 +07:00

152 lines
4.6 KiB
YAML

name: worker
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.
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: 1.0.0+1
environment:
sdk: ^3.9.2
# 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_localizations:
sdk: flutter
# State Management - Riverpod 3.0
flutter_riverpod: ^3.0.0
hooks_riverpod: ^3.0.0
flutter_hooks: ^0.21.3+1
riverpod_annotation: ^3.0.0
# Local Database
hive_ce: ^2.6.0
hive_ce_flutter: ^2.1.0
# Code Generation
freezed_annotation: ^3.0.0
json_annotation: ^4.9.0
# Network
dio: ^5.4.3+1
connectivity_plus: ^6.0.3
pretty_dio_logger: ^1.3.1
curl_logger_dio_interceptor: ^1.0.0
dio_cache_interceptor: ^3.5.0
dio_cache_interceptor_hive_store: ^3.2.2
# UI & Design
cached_network_image: ^3.3.1
shimmer: ^3.0.0
lottie: ^3.1.2
qr_flutter: ^4.1.0
mobile_scanner: ^5.2.3
# Utilities
intl: ^0.20.0
share_plus: ^9.0.0
image_picker: ^1.1.2
file_picker: ^8.0.0
url_launcher: ^6.3.0
path_provider: ^2.1.3
shared_preferences: ^2.2.3
flutter_secure_storage: ^9.2.4
# Navigation
go_router: ^14.6.2
# Icons
cupertino_icons: ^1.0.8
dev_dependencies:
flutter_test:
sdk: flutter
# Code Generation
build_runner: ^2.4.11
riverpod_generator: ^3.0.0
riverpod_lint: ^3.0.0
custom_lint: ^0.8.0
freezed: ^3.0.0
json_serializable: ^6.8.0
hive_ce_generator: ^1.6.0
# Linting
flutter_lints: ^5.0.0
# Testing
mockito: ^5.4.4
integration_test:
sdk: flutter
# 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:
uses-material-design: true
generate: true
# Assets
assets:
- assets/images/
- assets/animations/
- assets/icons/
# Fonts - Using system default fonts for now
# To add custom Roboto fonts, create fonts/ directory and add font files
# fonts:
# - family: Roboto
# fonts:
# - asset: fonts/Roboto-Regular.ttf
# - asset: fonts/Roboto-Medium.ttf
# weight: 500
# - asset: fonts/Roboto-Bold.ttf
# weight: 700
# 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