BsCloseButton constructor

const BsCloseButton({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. bool disabled = false,
  4. bool white = false,
  5. Color? color,
  6. double size = 16.0,
  7. EdgeInsetsGeometry padding = const EdgeInsets.all(4.0),
})

Creates a BsCloseButton.

Implementation

const BsCloseButton({
  super.key,
  this.onPressed,
  this.disabled = false,
  this.white = false,
  this.color,
  this.size = 16.0,
  this.padding = const EdgeInsets.all(4.0),
});