springBootStarterFlutterDebugMotionAutoConfiguration top-level property

  1. @AutoConfigurationModule(build: AutoConfigurationBuild('spring.flutter.debug.motion.enabled'))
BeanModule springBootStarterFlutterDebugMotionAutoConfiguration
final

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 by spring.flutter.debug.motion.enabled: true always, false never (no code), not set debug and profile builds only.

Implementation

@AutoConfigurationModule(
  build: AutoConfigurationBuild('spring.flutter.debug.motion.enabled'),
)
final BeanModule springBootStarterFlutterDebugMotionAutoConfiguration =
    BeanModule('springBootStarterFlutterDebugMotionAutoConfiguration', [
      BeanDefinition<DebugMotion>(
        name: 'debugMotion',
        types: const [
          DebugMotion,
          ChangeNotifier,
          Listenable,
          ShortcutHandler,
          KeyedShortcutHandler,
        ],
        source: _debugSource,
        conditions: [_debugFeatureOn('motion')],
        create: (_) => DebugMotion(),
      ),
      BeanDefinition<DebugMotionCustomizer>(
        name: 'debugMotionCustomizer',
        types: const [DebugMotionCustomizer, FlutterAppCustomizer],
        source: _debugSource,
        conditions: [_debugFeatureOn('motion')],
        create: (r) => DebugMotionCustomizer(r.dependency<DebugMotion>()),
      ),
    ]);