SuperAppConfig class

Configuration class for the SuperApp widget.

Constructors

SuperAppConfig.new({List<Object>? mocks, Future<void>? onInit, AsyncErrorBuilder? onError, Widget loading()?, bool enableLog = false, bool testMode = false})
Configuration class for the SuperApp widget. Example usage:
const

Properties

enableLog bool
An optional boolean value that enables or disables logging in the Super framework.
final
hashCode int
The hash code for this object.
no setterinherited
loading Widget Function()?
An optional widget to display while the onInit callback is in progress.
final
mocks List<Object>?
An optional list of objects used for mocking dependencies during testing.
final
onError → AsyncErrorBuilder?
An optional callback that runs if an error occurs during the build phase.
final
onInit Future<void>?
An optional callback that runs before the application is initialized.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testMode bool
An optional boolean value that enables or disables test mode for the Super framework.
final

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