DrawerButton constructor

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

Creates a Material Design drawer icon button.

Implementation

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