Screen constructor

const Screen({
  1. Widget child = const SizedBox.shrink(),
  2. Widget? sidebar,
  3. Widget? header,
  4. Widget? footer,
  5. Widget? fab,
  6. Widget? foreground,
  7. Widget? background,
  8. bool gutter = true,
  9. String? title,
  10. String? subtitle,
  11. List<Widget> actions = const <Widget>[],
  12. BarBackButtonMode backButtonMode = BarBackButtonMode.never,
  13. void onBack()?,
  14. Key? key,
})

Implementation

const Screen({
  this.child = const SizedBox.shrink(),
  this.sidebar,
  this.header,
  this.footer,
  this.fab,
  this.foreground,
  this.background,
  this.gutter = true,
  this.title,
  this.subtitle,
  this.actions = const <Widget>[],
  this.backButtonMode = BarBackButtonMode.never,
  this.onBack,
  super.key,
});