WidgetConfiguration class
Widget configuration, takes in itself:
- child widget of your application;
- onFlutterError error handler for flutter widgets;
- errorBuilder handler for handling error screen in debug and profile mode. Attention! This widget fragile, do not do it loaded his best done through LeafRenderObjectWidget;
- releaseErrorBuilder handler for handling error screen in release mode. Attention! This widget fragile, do not do it loaded his best done through LeafRenderObjectWidget;
- initializeBinding is responsible for initializing your WidgetsBinding;
- Annotations
Constructors
- WidgetConfiguration({required Widget child, required void onFlutterError(FlutterErrorDetails errorDetails), ErrorRenderObjectBuilder? errorBuilder, RenderObjectBuilder? releaseErrorBuilder, InitializeBinding? initializeBinding})
-
Widget configuration, takes in itself:
const
Properties
- child → Widget
-
Your application widget
final
- errorBuilder → ErrorRenderObjectBuilder?
-
Custom Builder for error handling in debug and profile mode
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initializeBinding → InitializeBinding?
-
Callback to use your WidgetsBinding instance
final
- onFlutterError → void Function(FlutterErrorDetails errorDetails)
-
Called whenever the Flutter framework catches an error.
final
- releaseErrorBuilder → RenderObjectBuilder?
-
Custom Builder for error handling in release mode
final
- 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