spring_auto_configuration library
The starter's auto-configuration, found by the code generator in every
application that depends on spring_boot_starter_flutter.
Applications do not import it: the generated main.spring.dart does
(the module below is marked @AutoConfigurationModule()). A test that
builds a context by hand imports it to name the module.
Properties
- springBootAutoConfiguration → BeanModule
-
The auto-configuration of
spring_boot_dart:MessageSourceAutoConfiguration,JacksonAutoConfiguration,JsonSchemaAutoConfiguration,ValidationAutoConfiguration,LifecycleAutoConfiguration,ApplicationAvailabilityAutoConfiguration,ObservationAutoConfigurationandIsolateAutoConfiguration.final - springBootObservedAnnotationsAutoConfiguration → BeanModule
-
@Observedput into effect (ObservedAnnotationsAutoConfiguration): in the build only withspring.observations.annotations.enabled: true, so without it no proxy is written for the beans marked@Observed.final - springBootStarterFlutterAutoConfiguration → BeanModule
-
The beans the starter adds to every Flutter application:
final
- springBootStarterFlutterDebugAutoConfiguration → BeanModule
-
The debug panel (
debugPanel) and its sections: logs, frames, the configuration, the beans, the themes and the start, over the app (debugPanelCustomizer). The generator puts this module into the app byspring.flutter.debug.enabled:truealways,falsenever (no code), not set in debug and profile builds only.final - springBootStarterFlutterDebugDragAutoConfiguration → BeanModule
-
Dragging the debug overlays (
debugOverlayDrag): a mouse drags one at once, a finger after a long press; dropped, it joins the nearest corner or stays where it is (spring.flutter.debug.overlays.drag.snap), kept for the next start withremember. The generator puts this module into the app only withspring.flutter.debug.drag.enabled: true: without it there is no code to drag.final - springBootStarterFlutterDebugFrameMeterAutoConfiguration → BeanModule
-
The frame meter over the app, on and off by the action
debug.frame-meter(⌘⇧X, or five quick taps and a sixth held two seconds) or the debug panel's Frames tab (debugFrameMeter). The generator puts this module into the app byspring.flutter.debug.frame-meter.enabled:truealways,falsenever (no code), not set debug and profile builds only; apart from the panel, so a release can have the meter alone.final - springBootStarterFlutterDebugIsolatesAutoConfiguration → BeanModule
-
The task manager of the app's isolates and the engine's threads
(
debugIsolates), on and off by the actiondebug.isolates(⌘⇧I, or seven quick taps and an eighth held two seconds): a small table in the dock, and its tab in the debug panel with every value. TheflutterEngineLoadsbean is anIsolateLoadSource, soisolateLoads(and what else reads it: the actuator) has the engine's threads beside the isolates:raster,platform,io, and the frames' build times inmain. Nothing is read or measured while neither the table nor the tab shows. The generator puts this module into the app byspring.flutter.debug.isolates.enabled:truealways,falsenever (no code), not set debug and profile builds only.final - springBootStarterFlutterDebugMotionAutoConfiguration → BeanModule
-
Every animation of the app on or off by the action
debug.motion(⌘⇧M) or the debug panel's Motion tab (debugMotion). The generator puts this module into the app byspring.flutter.debug.motion.enabled:truealways,falsenever (no code), not set debug and profile builds only.final - springBootStarterFlutterDebugTimelineAutoConfiguration → BeanModule
-
The timeline of the start and the observations (
debugTimeline), on and off by the actiondebug.timeline(⌘⇧L, or six quick taps and a seventh held): a pill in the dock, the full view over the app when it is tapped, and its tab in the debug panel. ThetimelineObservationsbean is anObservationHandler, so it gets every observation. The generator puts this module into the app byspring.flutter.debug.timeline.enabled:truealways,falsenever (no code), not set debug and profile builds only. With it, each bean's creation is measured too.final - springBootStarterLoggingAutoConfiguration → BeanModule
-
The beans that install the logging system when the context starts and
make
LoggingSystemandLogBufferinjectable; all off withlogging.enabled=false.final