ShortcutOptions class
Constructors
- ShortcutOptions({required String? accelerator, void callback()?, required String? description, required ShortcutScope scope, required bool enabled})
-
const
- ShortcutOptions.fromNative(native_shortcut_options_t raw)
-
factory
Properties
- accelerator → String?
-
final
- callback → void Function()?
-
final
- description → String?
-
final
- enabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → ShortcutScope
-
final
Methods
-
allocNative(
) → Pointer< native_shortcut_options_t> - Allocates the C form; free it with freeNative.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
freeNative(
Pointer< native_shortcut_options_t> pointer) → void