Results for “Shortcuts”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Guides
- Understanding Flutter's keyboard focus systemdoc
application. Focus can also be moved by pressing a particular keyboard shortcut, which is typically bound to Tab , so it is sometimes called "tab traversal". This page
- An introduction to unit testingdoc
How to write unit tests. How can you ensure that your app
- Mock dependencies using Mockitodoc
alternative implementations by hand or make use of the Mockito package as a shortcut. This recipe demonstrates the basics of mocking with the Mockito package using
- Accessibility technologiesdoc
screen and interact with the UI by using gestures on mobile and keyboard shortcuts on desktop. Turn on VoiceOver or TalkBack on your mobile device and navigate
API reference
- Shortcutsclass
widget that creates key bindings to specific actions for its descendants. widgets.Shortcuts Shortcuts Shortcuts class widgets
- ShortcutSerializationclass
for serialization to send to the platform for rendering a PlatformMenuBar. widgets.ShortcutSerialization ShortcutSerialization Shortcut Serialization class widgets
- ShortcutRegistryEntryclass
entry returned by ShortcutRegistry.addAll that allows the caller to identify the shortcuts they registered with the ShortcutRegistry through the ShortcutRegistrar. widgets.ShortcutRegistryEntry ShortcutRegistryEntry Shortcut Registry Entry class
- Shortcuts.managerconstructor
manager to manage the map of shortcuts. widgets.Shortcuts.Shortcuts.manager Shortcuts manager Shortcuts.manager constructor widgets
- Shortcuts.newconstructor
shortcuts and creates its own manager. widgets.Shortcuts.Shortcuts.new Shortcuts new Shortcuts.new constructor widgets
- ShortcutRegistryclass
class used by ShortcutRegistrar that allows adding or removing shortcut bindings by descendants of the ShortcutRegistrar. widgets.ShortcutRegistry ShortcutRegistry Shortcut Registry class widgets
- ShortcutSerialization.characterconstructor
Creates a ShortcutSerialization representing a single character. widgets.ShortcutSerialization.ShortcutSerialization.character ShortcutSerialization character Shortcut Serialization.character constructor widgets
- ShortcutSerialization.modifierconstructor
Creates a ShortcutSerialization representing a specific LogicalKeyboardKey and modifiers. widgets.ShortcutSerialization.ShortcutSerialization.modifier ShortcutSerialization modifier Shortcut Serialization.modifier constructor widgets
- ShortcutManagerclass
keyboard shortcut bindings used by Shortcuts to handle key events. widgets.ShortcutManager ShortcutManager Shortcut Manager class widgets
- ShortcutRegistrarclass
widget that holds a ShortcutRegistry which allows descendants to add, remove, or replace shortcuts. widgets.ShortcutRegistrar ShortcutRegistrar Shortcut Registrar class widgets
- ShortcutActivatorclass
interface to define the keyboard key combination to trigger a shortcut. widgets.ShortcutActivator ShortcutActivator Shortcut Activator class widgets
- ShortcutMapPropertyclass
handles formatting a Map<LogicalKeySet, Intent> (the same type as the Shortcuts.shortcuts property) so that its diagnostic output is human-readable. widgets.ShortcutMapProperty ShortcutMapProperty Shortcut
- ShortcutManager.newconstructor
Constructs a ShortcutManager. widgets.ShortcutManager.ShortcutManager.new ShortcutManager new Shortcut Manager.new constructor widgets
- ShortcutMapProperty.newconstructor
Create a diagnostics property for Map<ShortcutActivator, Intent> objects, which are the same type as the Shortcuts.shortcuts property. widgets.ShortcutMapProperty.ShortcutMapProperty.new ShortcutMapProperty new Shortcut Map Property.new constructor
- ShortcutRegistrar.newconstructor
Creates a const ShortcutRegistrar. widgets.ShortcutRegistrar.ShortcutRegistrar.new ShortcutRegistrar new Shortcut Registrar.new constructor widgets
- ShortcutRegistry.newconstructor
Creates an instance of ShortcutRegistry. widgets.ShortcutRegistry.ShortcutRegistry.new ShortcutRegistry new Shortcut Registry.new constructor widgets
- ShortcutActivator.newconstructor
provide const constructors so that they can be used in const expressions. widgets.ShortcutActivator.ShortcutActivator.new ShortcutActivator new Shortcut Activator.new constructor widgets
- widgets.MenuSerializableShortcutmixin
mixin allowing a ShortcutActivator to provide data for serialization of the shortcut when sending to the platform. widgets.MenuSerializableShortcut MenuSerializableShortcut Menu Serializable Shortcut mixin widgets
- DefaultTextEditingShortcutsclass
widget with the shortcuts used for the default text editing behavior. widgets.DefaultTextEditingShortcuts DefaultTextEditingShortcuts Default Text Editing Shortcuts class widgets
- SingleActivatorclass
shortcut key combination of a single key and modifiers. widgets.SingleActivator SingleActivator Single Activator class widgets
- CharacterActivatorclass
shortcut combination that is triggered by a key event that produces a specific character. widgets.CharacterActivator CharacterActivator Character Activator class widgets
- DefaultTextEditingShortcuts.newconstructor
editing shortcuts on the current platform. widgets.DefaultTextEditingShortcuts.DefaultTextEditingShortcuts.new DefaultTextEditingShortcuts new Default Text Editing Shortcuts.new constructor widgets
- FocusableActionDetectorclass
widget that combines the functionality of Actions, Shortcuts, MouseRegion and a Focus widget to create a detector that defines actions and key bindings, and provides callbacks
- widgets.LockStateenum
Determines how the state of a lock key is used to accept a shortcut. widgets.LockState LockState Lock State enum widgets
- services.TextSelectionDelegatemixin
mixin for manipulating the selection, provided for toolbar or shortcut keys. services.TextSelectionDelegate TextSelectionDelegate Text Selection Delegate mixin services
- CallbackShortcutsclass
widget that binds key combinations to specific callbacks. widgets.CallbackShortcuts CallbackShortcuts Callback Shortcuts class widgets
- CallbackShortcuts.newconstructor
Creates a const CallbackShortcuts widget. widgets.CallbackShortcuts.CallbackShortcuts.new CallbackShortcuts new Callback Shortcuts.new constructor widgets
Version changes
- Migrate ShortcutActivator and ShortcutManager to KeyEvent system3.16.0breaking
methods listed in the previous section. ### Migrating your APIs that use `ShortcutActivator` or its subclasses. Pass a `KeyEvent` instead of a `RawKeyEvent` to `ShortcutActivator.accepts`. This may mean switching
- Actions API revision1.20.0breaking
object that's typically bound to a keyboard key combination using the `Shortcuts` widget. An `Intent` can be bound to an `Action`, which can update the application
- - Fixes an issue that prevents (web) screen readers from pressing buttons through keyboard shortcuts.3.35.2bugfix
Fixes an issue that prevents (web) screen readers from pressing buttons through keyboard shortcuts
- Add Shift+Enter shortcut example for TextField.3.38.0new-feature
Shift+Enter shortcut example for TextField. (Material, by @ksokolovskyi). TextField
- [Shortcuts] Improve focus node debug labels3.44.0improvement
Shortcuts] Improve focus node debug labels (Framework, by @loic-sharma
- Eliminating nullOk Parameters2.0.0breaking
This migration guide describes conversion of code that uses the `nullOk` parameter
- Default PrimaryScrollController on Desktop3.3.0breaking
The `PrimaryScrollController` API has been updated to no longer automatically attach to
- Stricter Android Intent verification for app entrypointsunreleasedbreaking
launcher can launch your app. To route to specific screens from external sources, shortcuts