TSideSheet constructor

const TSideSheet(
  1. Widget child, {
  2. Key? key,
  3. Widget? header,
  4. Widget? footer,
  5. String? title,
  6. String? subTitle,
  7. bool? showCloseButton,
  8. VoidCallback? onClose,
  9. double width = 400,
  10. double minWidth = 280,
  11. bool fromLeft = false,
  12. bool persistent = false,
  13. Color? backgroundColor,
  14. BorderRadius? borderRadius,
  15. Widget layoutBuilder(
    1. BuildContext context,
    2. Widget child
    )?,
})

Implementation

const TSideSheet(
  this.child, {
  super.key,
  this.header,
  this.footer,
  this.title,
  this.subTitle,
  this.showCloseButton,
  this.onClose,
  this.width = 400,
  this.minWidth = 280,
  this.fromLeft = false,
  this.persistent = false,
  this.backgroundColor,
  this.borderRadius,
  this.layoutBuilder,
});