GlossCommand class
One command of a GlossCommandPalette.
- Annotations
Constructors
-
GlossCommand({required String label, required VoidCallback? onPressed, String? group, IconData? icon, String? shortcut, List<
String> keywords = const []}) -
A command named
labelthat doesonPressed.const
Properties
- group → String?
-
The heading it lists under.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
Its glyph.
final
-
keywords
→ List<
String> -
More words it is found by.
final
- label → String
-
What it says.
final
- onPressed → VoidCallback?
-
What it does; null disables it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortcut → String?
-
The keys that do it too.
final
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