SliverScaffold constructor

const SliverScaffold({
  1. dynamic key,
  2. required String header,
  3. dynamic body,
  4. List? delegates,
  5. List? actions,
  6. bool addBackIconButton = false,
  7. bool addActions = false,
  8. bool addDivider = false,
  9. void cancelActionOnPressed()?,
  10. void confirmActionOnPressed()?,
  11. String? cancelActionTitle = 'Cancel',
  12. String? confirmActionTitle = 'Save',
  13. String? closeButtonTooltip,
  14. String? backButtonTooltip,
  15. bool addCloseIconButton = true,
  16. dynamic confirmActionKey,
})

Implementation

const SliverScaffold({
  super.key,
  required this.header,
  this.body,
  this.delegates,
  this.actions,
  this.addBackIconButton = false,
  this.addActions = false,
  this.addDivider = false,
  this.cancelActionOnPressed,
  this.confirmActionOnPressed,
  this.cancelActionTitle = 'Cancel',
  this.confirmActionTitle = 'Save',
  this.closeButtonTooltip,
  this.backButtonTooltip,
  this.addCloseIconButton = true,
  this.confirmActionKey,
});