GoBackButton constructor

const GoBackButton({
  1. Key? key,
  2. VoidCallback? onPressed,
})

Creates a GoBackButton widget.

Parameters:

  • onPressed: Optional callback function executed when the button is pressed.

Implementation

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