DrawerButton constructor

const DrawerButton(
  1. {Key? key,
  2. ButtonStyle? style,
  3. VoidCallback? onPressed}
)

Creates a Material Design drawer icon button.

Implementation

const DrawerButton({
  super.key,
  super.style,
  super.onPressed,
}) : super(icon: const DrawerButtonIcon());