BsOffcanvasHeader constructor

const BsOffcanvasHeader({
  1. Key? key,
  2. required Widget child,
  3. bool showCloseButton = true,
  4. VoidCallback? onClosePressed,
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(16),
})

Creates a BsOffcanvasHeader container.

Implementation

const BsOffcanvasHeader({
  super.key,
  required this.child,
  this.showCloseButton = true,
  this.onClosePressed,
  this.padding = const EdgeInsets.all(16),
});