FlutterCockpitApp constructor

const FlutterCockpitApp({
  1. required Widget child,
  2. FlutterCockpitConfig config = const FlutterCockpitConfig.production(),
  3. bool ownsRuntime = false,
  4. GlobalKey<FlutterCockpitRootState>? rootKey,
  5. Map<String, Object?> appStateProvider(
    1. BuildContext context
    )?,
  6. Map<String, CockpitAppAction>? appActions,
  7. Key? key,
})

Implementation

const FlutterCockpitApp({
  required this.child,
  this.config = const FlutterCockpitConfig.production(),
  this.ownsRuntime = false,
  this.rootKey,
  this.appStateProvider,
  this.appActions,
  super.key,
});