ShellAction constructor

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

Creates a ShellAction.

Implementation

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