Commit Graph

32 Commits

Author SHA1 Message Date
hans b0c9fe7b98 Refactor theme management to use ValueListenableBuilder for effective theme updates
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-07-01 16:56:30 +02:00
hans f8dcaf3c6c Refactor theme management to use ValueNotifier for reactive updates
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-07-01 16:35:31 +02:00
hans 1e84e8f648 Enhance theme management with StreamBuilder for dynamic updates
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-07-01 08:54:10 +02:00
hans 93f90a3f72 Fix DebugAuthInterface logout method
Added environment key to ArcaneEnvironment constructor
 Renamed switchEnvironment parameter in ArcaneEnvironment constructor

Bumped arcane_helper_utils dependency version
2025-05-19 17:00:27 +02:00
hans 55ff65ba32 Remove unnecessary notifyListeners calls
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-05-14 11:11:45 +02:00
hans 0c5568ab74 Fixed a bug in the example
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-05-13 14:41:24 +02:00
hans 515c7fb5b1 Fixes the notifier for feature flags and updates the example
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-05-13 14:31:21 +02:00
hans 68ce73abf5 Breaking up example into smaller widgets
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-30 15:04:14 +02:00
hans 2f18c4213f Update example
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-30 14:52:41 +02:00
hans 1eab50b0f5 Update example documentation
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-30 14:41:26 +02:00
hans ad63b15826 Removed unused variable
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-30 11:45:51 +02:00
hans 0caea70b2f Updated example to add a services example
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-30 11:45:20 +02:00
hans 87eabf0293 Made ArcaneTheme private (_ArcaneTheme)
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:33:30 +02:00
hans 7fdd8ef58a Added environment logging
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:16:17 +02:00
hans e79f163ff5 Center text
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:16:17 +02:00
hans 012e8f6107 Added environment example
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:16:17 +02:00
hans c162e8b294 Added examples for feature flags
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:16:17 +02:00
hans 2a7829a2d0 Updated theme example to set color of theme
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:16:17 +02:00
hans 3fd38d3b26 Added logStream to logger. Updated example code.
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:16:17 +02:00
hans 6a28b8d90e Update example
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:16:17 +02:00
hans e402308f7b Fixes broken tests
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:16:17 +02:00
hans 23f0387389 Fixes tests and updates reactive theme
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:16:17 +02:00
hans cfd9052442 Fixes the reactive theme service to properly follow the system brightness
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:16:17 +02:00
hans 2c8596d517 Fixed theme
- fixed: currentMode, dark, light now actually emit new values when changed
- added: getters for lightTheme, darkTheme, and systemTheme
- breaking: currentMode -> systemTheme
- added: currentTheme
- breaking: currentMode => currentTheme
- change: Arcane.theme.followSystemTheme(context) required to follow system theme
- change: After following the system theme, calling Arcane.theme.switchTheme() cancels following the system theme
- added: ArcaneReactiveTheme is now registered in ArcaneServiceProvider when using ArcaneApp

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2025-04-29 14:16:17 +02:00
Hans Kokx 129801a0dc v1.2.0
- Removed flutter_secure_storage dependency as it was unused
- BREAKING: several methods were moved from the ArcaneAuthInterface base class into their own mixins

Signed-off-by: Hans Kokx <hans.kokx@hackberry.se>
2024-12-12 15:09:10 +01:00
Hans Kokx 9f00ed205b v1.1.1
Breaking changes:
- Updated ArcaneAuthInterface to make the `resendVerificationCode`, `confirmSignup`, and `resetPassword` methods more versatile

Signed-off-by: Hans Kokx <hans.kokx@hackberry.se>
2024-10-11 14:04:53 +02:00
hans a67e4adfa2 v1.1.0
Breaking changes:
- (ArcaneAuthInterface) Migrated `loginWithEmailAndPassword` to `login`
- (ArcaneAuthInterface) Migrated `signup` to `register`

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2024-10-10 15:56:38 +02:00
hans 79a1840cc6 Updated example
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2024-10-04 14:17:44 +02:00
hans 3a406e81c4 Updated example
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2024-09-20 15:42:35 +02:00
hans 52c6626531 v1.0.5+1
- Marks `loginWithEmailAndPassword` as deprecated and update example

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2024-09-20 15:23:13 +02:00
hans 05624263fb v1.0.5
- Added the ability to use a generic type for the login method in ArcaneAuthenticationService
- Added the ability to reset the ArcaneAuthenticationService, which will unregister the current interface and clear the authentication state
- Removed unused testing tooling (e.g., `@visibleForTesting`) from the codebase

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2024-09-20 15:10:00 +02:00
hans e6b2442eea Added example project
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2024-09-18 10:39:46 +02:00