2025-11-13 15:16:00 +01:00
|
|
|
name: sf_app_platform
|
|
|
|
|
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
|
2026-04-06 23:08:51 +02:00
|
|
|
resolution: workspace
|
2025-11-13 15:16:00 +01: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.
|
2026-04-27 18:09:30 +02:00
|
|
|
version: 1.0.0+4
|
2025-11-13 15:16:00 +01:00
|
|
|
|
|
|
|
|
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
|
2025-12-03 13:42:14 +01:00
|
|
|
flutter_localizations:
|
|
|
|
|
sdk: flutter
|
2025-11-13 15:16:00 +01:00
|
|
|
flutter_riverpod: ^3.0.3
|
|
|
|
|
get_it: ^9.0.5
|
|
|
|
|
go_router: ^17.0.0
|
2025-11-17 00:15:31 +01:00
|
|
|
|
|
|
|
|
#modules dependencies go here
|
2026-02-17 20:54:14 +01:00
|
|
|
activity:
|
2026-04-06 21:21:15 +02:00
|
|
|
path: ../../modules/payment/modules/activity
|
2025-11-13 15:16:00 +01:00
|
|
|
auth:
|
2026-04-06 21:21:15 +02:00
|
|
|
path: ../../modules/payment/modules/auth
|
2025-11-13 15:16:00 +01:00
|
|
|
home:
|
2026-04-06 21:21:15 +02:00
|
|
|
path: ../../modules/payment/modules/home
|
|
|
|
|
profile:
|
|
|
|
|
path: ../../modules/payment/modules/profile
|
2025-11-13 15:16:00 +01:00
|
|
|
notifications:
|
2026-04-06 21:21:15 +02:00
|
|
|
path: ../../modules/payment/modules/notifications
|
2025-11-13 15:16:00 +01:00
|
|
|
dashboard_shell:
|
2026-04-06 21:21:15 +02:00
|
|
|
path: ../../modules/payment/modules/dashboard_shell
|
2026-01-27 12:45:25 +01:00
|
|
|
legacy_dashboard_shell:
|
|
|
|
|
path: ../../modules/legacy/modules/legacy_dashboard_shell
|
2026-03-05 15:42:34 +01:00
|
|
|
control_panel:
|
|
|
|
|
path: ../../modules/legacy/modules/control_panel
|
2026-01-28 17:36:01 +01:00
|
|
|
customer_service:
|
|
|
|
|
path: ../../modules/legacy/modules/customer_service
|
2026-01-15 09:20:45 +01:00
|
|
|
splash:
|
|
|
|
|
path: ../../modules/splash
|
2026-01-29 17:45:14 +01:00
|
|
|
account:
|
|
|
|
|
path: ../../modules/legacy/modules/account
|
2026-03-05 15:42:34 +01:00
|
|
|
device_management:
|
|
|
|
|
path: ../../modules/legacy/modules/device_management
|
2026-03-09 02:28:31 +01:00
|
|
|
location:
|
|
|
|
|
path: ../../modules/legacy/modules/location
|
2026-03-06 00:44:12 +01:00
|
|
|
legacy_auth:
|
|
|
|
|
path: ../../modules/legacy/modules/legacy_auth
|
2026-03-12 17:40:06 +01:00
|
|
|
settings:
|
|
|
|
|
path: ../../modules/legacy/modules/settings
|
refactor(legacy): migrate theming to Material 3 + SfColors extension
Replace the ThemePort/ThemeCode abstraction (GetIt-registered adapter)
with a Riverpod-driven Material 3 ColorScheme, an SfColors ThemeExtension
for brand tokens, and a user-facing appearance selector for light/dark/
system modes. Persisted via SharedPreferences, reacts to system
brightness changes. Payments mode keeps the existing ThemePort API.
Highlights
- New legacy_theme package: LegacyAppTheme (light/dark), LegacyColorSchemes,
SfColors ThemeExtension, LegacyThemePreferences, LegacyThemeNotifier,
LegacyThemeSelector. Timeframe-based variants scaffolded but disabled.
- New /legacy/dashboard/control_panel/settings/appearance route + screen.
- MaterialApp.router picks the legacy theme only when isLegacyMode.
- ~90 ThemeCode.* usages migrated to colorScheme.* / context.sfColors.*.
- 25 widgets dropped the 'ThemePort theme' constructor param.
- ~145 hardcoded colors migrated (exact hex 1:1, grey.shade tiers,
destructive red -> colorScheme.error, background whites -> surface).
Content-over-color whites, transparents, and brand semantic reds/
oranges/greens intentionally preserved.
- sf_localizations updated with appearance / appearanceDescription keys
in all six locales.
2026-04-19 04:47:22 +02:00
|
|
|
legacy_theme:
|
|
|
|
|
path: ../../modules/legacy/packages/legacy_theme
|
2025-11-17 00:15:31 +01:00
|
|
|
#packages dependencies go here
|
|
|
|
|
navigation:
|
|
|
|
|
path: ../../packages/navigation
|
|
|
|
|
design_system:
|
2025-11-21 15:28:46 +01:00
|
|
|
path: ../../packages/design_system
|
2025-11-24 12:55:20 +01:00
|
|
|
sf_localizations:
|
2025-12-03 16:24:04 +01:00
|
|
|
path: ../../packages/sf_localizations
|
2025-11-21 15:28:46 +01:00
|
|
|
fonts:
|
|
|
|
|
path: ../../packages/fonts
|
2026-02-25 18:37:17 +01:00
|
|
|
sf_shared:
|
|
|
|
|
path: ../../packages/sf_shared
|
2026-04-07 13:47:07 +02:00
|
|
|
sf_tracking:
|
|
|
|
|
path: ../../packages/sf_tracking
|
2025-12-04 16:07:02 +01:00
|
|
|
sf_infrastructure:
|
|
|
|
|
path: ../../packages/sf_infrastructure
|
2025-12-12 13:42:06 +01:00
|
|
|
utils:
|
|
|
|
|
path: ../../packages/utils
|
2026-01-21 12:19:56 +01:00
|
|
|
flutter_treezor_entrust_sdk_bridge:
|
|
|
|
|
path: ../../packages/flutter_treezor_entrust_sdk_bridge
|
2026-01-27 02:28:52 +03:00
|
|
|
sca_treezor:
|
|
|
|
|
path: ../../packages/sca_treezor
|
2026-02-12 16:01:57 +01:00
|
|
|
payments:
|
|
|
|
|
path: ../../packages/payments
|
2026-04-16 17:45:33 +02:00
|
|
|
videocall_sdk:
|
|
|
|
|
path: ../../packages/videocall_sdk
|
2025-11-17 00:15:31 +01:00
|
|
|
#dependencies go here
|
2025-11-13 15:16:00 +01:00
|
|
|
cupertino_icons: ^1.0.8
|
2026-04-06 23:08:51 +02:00
|
|
|
flutter_svg: ^2.2.2
|
2026-04-15 21:51:08 +02:00
|
|
|
intl: ^0.20.2
|
2026-04-22 01:10:10 +02:00
|
|
|
timezone: ^0.10.1
|
2025-11-17 00:15:31 +01:00
|
|
|
go_router_builder: ^4.1.1
|
|
|
|
|
build_runner: ^2.7.1
|
2026-03-01 00:12:47 +01:00
|
|
|
|
2026-01-05 10:03:18 +01:00
|
|
|
country_code_picker: ^3.4.1
|
2026-01-15 09:20:45 +01:00
|
|
|
flutter_native_splash: ^2.4.7
|
2026-01-20 07:37:29 +01:00
|
|
|
permission_handler: ^12.0.1
|
2026-04-06 22:21:22 +02:00
|
|
|
dio: ^5.9.2
|
2026-04-07 03:31:09 +02:00
|
|
|
# Firebase
|
|
|
|
|
firebase_core: ^4.6.0
|
|
|
|
|
firebase_crashlytics: ^5.1.0
|
|
|
|
|
firebase_analytics: ^12.2.0
|
|
|
|
|
firebase_remote_config: ^6.3.0
|
2026-04-09 14:52:37 +02:00
|
|
|
package_info_plus: ^8.3.1
|
|
|
|
|
url_launcher: ^6.3.2
|
|
|
|
|
shared_preferences: ^2.5.5
|
2026-04-07 03:31:09 +02:00
|
|
|
firebase_messaging: ^16.1.3
|
|
|
|
|
firebase_performance: ^0.11.2
|
|
|
|
|
|
|
|
|
|
# Notifications (foreground display + tap handling)
|
|
|
|
|
flutter_local_notifications: ^19.4.2
|
2025-11-13 15:16:00 +01: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
|
2026-01-18 14:01:25 +01:00
|
|
|
flutter_launcher_icons: ^0.14.4
|
2025-11-13 15:16:00 +01: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:
|
2026-03-01 00:12:47 +01:00
|
|
|
- assets/shared/images/
|
2026-03-25 02:15:25 +01:00
|
|
|
- assets/shared/animations/
|
2025-11-13 15:16:00 +01:00
|
|
|
# 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
|
2026-01-15 09:20:45 +01:00
|
|
|
|