get_instance/src/instance_extension library
Classes
- InstanceInfo
- A class that holds information about an instance.
Extensions
- InstanceExtension on GetInterface
-
Extension on
GetInterface
providing a convenient method to find instances of typeT
. - ResetInstance on GetInterface
- Extension on GetInterface providing a method to reset all registered instances.
Typedefs
-
AsyncInstanceBuilderCallback<
S> = Future< S> Function() -
A callback function used to asynchronously construct instances of type
S
. -
InstanceBuilderCallback<
S> = S Function() -
A callback function used to construct instances of type
S
. -
InstanceCreateBuilderCallback<
S> = S Function(BuildContext _) -
A callback function used to construct instances of type
S
with access to the currentBuildContext
.