CloseButton constructor

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

Creates a Material Design close button.

Implementation

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