FxShell constructor

const FxShell({
  1. Key? key,
  2. required String initialPaneKey,
  3. List<FxPane>? dockPanes,
  4. List<FxPane>? drawerPanes,
  5. List<FxPane>? endDrawerPanes,
  6. Widget? bottomSheet,
  7. Widget? floatingActionButton,
  8. Widget bodyAnimationBuilder(
    1. Widget,
    2. Animation<double>
    )?,
  9. List<Widget>? persistentFooterButtons,
  10. FxShellStyle style = const FxShellStyle(),
})

Implementation

const FxShell({
  super.key,
  required this.initialPaneKey,
  this.dockPanes,
  this.drawerPanes,
  this.endDrawerPanes,
  this.bottomSheet,
  this.floatingActionButton,
  this.bodyAnimationBuilder,
  this.persistentFooterButtons,
  this.style = const FxShellStyle(),
})  : assert(
      dockPanes != null || drawerPanes != null || endDrawerPanes != null,
      'dockPanes, drawerPanes, or endDrawerPanes must be provided',
    );