Refactor theme management to use ValueListenableBuilder for effective theme updates

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2025-07-01 16:56:30 +02:00
parent f8dcaf3c6c
commit b0c9fe7b98
3 changed files with 98 additions and 56 deletions
@@ -98,11 +98,16 @@ class MockArcaneAuthInterface extends _i1.Mock
as _i5.Future<void>);
@override
_i5.Future<_i2.Result<void, String>> logout() =>
_i5.Future<_i2.Result<void, String>> logout({
_i5.Future<void> Function()? onLoggedOut,
}) =>
(super.noSuchMethod(
Invocation.method(#logout, []),
Invocation.method(#logout, [], {#onLoggedOut: onLoggedOut}),
returnValue: _i5.Future<_i2.Result<void, String>>.value(
_FakeResult_0<void, String>(this, Invocation.method(#logout, [])),
_FakeResult_0<void, String>(
this,
Invocation.method(#logout, [], {#onLoggedOut: onLoggedOut}),
),
),
)
as _i5.Future<_i2.Result<void, String>>);