YaruCloseButton constructor

const YaruCloseButton({
  1. Key? key,
  2. bool enabled = true,
  3. VoidCallback? onPressed,
  4. AlignmentGeometry alignment = Alignment.center,
  5. Widget? icon,
})

Implementation

const YaruCloseButton({
  super.key,
  this.enabled = true,
  this.onPressed,
  this.alignment = Alignment.center,
  this.icon,
});