MinimalShellAction class

The app-level act beside the shell's tabs: the one thing reachable from every root — new issue, add, capture — with the glyph it wears, what it does, and the words a screen reader says for it. key is the walkthrough key of the declared step it performs.

Annotations

Constructors

MinimalShellAction({required IconData icon, required void onPressed(BuildContext context), String? label, bool primary = false, Key? key})
The act beside the shell's tabs.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → IconData
The glyph it wears.
final
key → Key?
The walkthrough key of the step it performs.
final
label → String?
What the act does, announced for the icon-only square; null says the localized "New".
final
onPressed → void Function(BuildContext context)
The act: the step's write and the typed route it lands on.
final
primary → bool
Accent-fill the square for the app whose act IS its standing invitation; otherwise it wears the ink.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited