ComicShellAction constructor

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

Creates a ComicShellAction.

Implementation

// The lab's ShellAction keeps a deprecated alias in its initializer, so only the package's can be const.
const ComicShellAction({
  required super.icon,
  required super.onPressed,
  super.label,
  super.accent = true,
  super.key,
});