BackButton constructor

const BackButton(
  1. {Key? key,
  2. Color? color,
  3. ButtonStyle? style,
  4. VoidCallback? onPressed}
)

Creates an IconButton with the appropriate "back" icon for the current target platform.

Implementation

const BackButton({
  super.key,
  super.color,
  super.style,
  super.onPressed,
}) : super(icon: const BackButtonIcon());