ZenConfig class
Configuration settings for Zenify framework
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- checkForCircularDependencies ↔ bool
-
Whether to check for circular dependencies
getter/setter pair
- controllerCacheExpiry ↔ Duration
-
How long to cache controllers before disposal
getter/setter pair
- enableAutoDispose ↔ bool
-
Enable automatic disposal of controllers
getter/setter pair
- enableDebugLogs ↔ bool
-
Legacy property for backward compatibility
getter/setter pair
- enableDependencyVisualization ↔ bool
-
Whether to enable dependency visualization
getter/setter pair
- enableMetrics ↔ bool
-
Enable general metrics collection
getter/setter pair
-
Navigation and routing logging
getter/setter pair
- enablePerformanceMetrics ↔ bool
-
Alias for enablePerformanceTracking to match naming in other areas
getter/setter pair
- enablePerformanceTracking ↔ bool
-
Enable performance tracking
getter/setter pair
- enableRouteLogging ↔ bool
-
getter/setter pair
- enableRxTracking ↔ bool
-
Enable/disable Rx tracking logs separately (default: false)
⚠️ WARNING: This creates VERY verbose logs. Only enable when:
getter/setter pair
- logLevel ↔ ZenLogLevel
-
Current log level (default: warning for production safety)
getter/setter pair
- strictMode ↔ bool
-
Strict mode - throw exceptions for misuse
getter/setter pair
- useRxTracking ↔ bool
-
Whether to use Rx tracking for reactive values
getter/setter pair
Static Methods
-
applyEnvironment(
dynamic environment) → void - Apply predefined environment configuration
-
configure(
{ZenLogLevel? level, bool? rxTracking, bool? routeLogging, bool? performanceTracking, bool? metrics, bool? autoDispose, Duration? cacheExpiry, bool? strict, bool? circularDependencyCheck, bool? dependencyVisualization, bool? useRxTrack, bool? debugLogs}) → void - Apply custom configuration with fine-grained control
-
configureDevelopment(
) → void - Apply development configuration (shorthand)
-
configureProduction(
) → void - Apply production configuration (shorthand)
-
configureTest(
) → void - Apply test configuration (shorthand)
-
reset(
) → void - Reset all settings to defaults