CloseButton constructor Null safety

const CloseButton(
  1. {Key? key,
  2. Color? color,
  3. VoidCallback? onPressed}
)

Creates a Material Design close button.

Implementation

const CloseButton({ super.key, this.color, this.onPressed });