MinimalShellAction constructor

const MinimalShellAction({
  1. required IconData icon,
  2. required void onPressed(
    1. BuildContext context
    ),
  3. String? label,
  4. bool primary = false,
  5. Key? key,
})

The act beside the shell's tabs.

Implementation

const MinimalShellAction({
  required this.icon,
  required this.onPressed,
  this.label,
  this.primary = false,
  this.key,
});