Files
arcane_framework/lib/arcane_framework.dart
T
hans 0078e344fd v2.0.6: Remove export of Error and Ok from result_monad (#12)
* Update Logging feature to replace @LoggingFeature annotation with LoggerName mixin for runtime accessibility

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>

* Bump version to 2.0.2 in pubspec.yaml and update CHANGELOG to reflect the new version

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>

* Add migration steps for replacing @LoggingFeature annotation with LoggerName mixin in CHANGELOG

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>

* Fix class declaration in migration example for LoggerName mixin

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>

* Enhance CI workflow, coverage enforcement, and environment tests (#10)

* Enhance CI workflow and coverage enforcement; update tests and add new environment tests

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>

* Revert version bump in pubspec.yaml and remove test coverage note from CHANGELOG

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>

* Update test to expect a thrown exception when no interfaces are registered

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>

* Add ArcaneEnvironmentModeController and related tests for debug mode management

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>

* Refactor theme switcher tests to use platform dispatcher for brightness change simulation

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>

---------

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>

* refactor(api): Remove export of Error and Ok from result_monad (#11)

The `Error` and `Ok` symbols from the `result_monad` package are no longer
re-exported directly by `arcane_framework`. Consumers needing these
symbols must now explicitly import them from `package:result_monad`.
This clarifies dependency ownership and reduces `arcane_framework`'s
public API surface.

---------

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-06-19 20:28:24 +02:00

56 lines
2.6 KiB
Dart

/// The Arcane Framework is a comprehensive Dart package designed to provide a
/// scalable architecture for managing essential application services such as
/// logging, authentication, theming, feature flags, and more.
///
/// The framework offers a centralized way to access and manage these services,
/// making it easy to build dynamic and feature-rich applications. It includes
/// a robust logging system, dynamic feature toggles, theming capabilities, and
/// user authentication handling.
///
/// ## Key Features:
/// - **Service Management**: Centralized access to critical services like
/// logging, feature flags, and theming.
/// - **Feature Flags**: Dynamically enable or disable features using
/// `ArcaneFeatureFlagService`.
/// - **Logging**: Flexible logging with different severity levels
/// (`debug`, `info`, `error`, etc.).
/// - **Theming**: Easy light/dark mode switching with `ArcaneThemeService`.
/// - **Authentication**: Manage user login, sign up, and token-based
/// authentication.
///
/// Example usage:
/// ```dart
/// import 'package:arcane_framework/arcane_framework.dart';
///
/// void main() {
/// runApp(
/// ArcaneApp(
/// services: [MyArcaneService.I],
/// child: MyApp(),
/// ),
/// );
/// }
/// ```
///
/// This library is designed to simplify the development of complex, scalable
/// Flutter applications by offering a set of tools to manage core
/// functionalities efficiently.
library;
export "package:arcane_framework/src/arcane.dart";
export "package:arcane_framework/src/arcane_app.dart";
export "package:arcane_framework/src/service/arcane_service.dart";
export "package:arcane_framework/src/services/authentication/authentication_service.dart";
export "package:arcane_framework/src/services/environment/environment_interface.dart";
export "package:arcane_framework/src/services/environment/environment_provider.dart";
export "package:arcane_framework/src/services/environment/environment_service.dart";
export "package:arcane_framework/src/services/feature_flags/feature_flags_context_extensions.dart";
export "package:arcane_framework/src/services/feature_flags/feature_flags_provider.dart";
export "package:arcane_framework/src/services/feature_flags/feature_flags_service.dart";
export "package:arcane_framework/src/services/logging/logging_service.dart";
export "package:arcane_framework/src/services/theme/arcane_theme.dart";
export "package:arcane_framework/src/services/theme/theme_extensions.dart";
export "package:arcane_framework/src/services/theme/theme_service.dart";
export "package:arcane_framework/src/services/theme/theme_switcher.dart";
export "package:result_monad/result_monad.dart" hide Error, Ok;