Comments (5)
Hmmm, looking at DefaultTextEditingShortcuts
, I'm pretty sure that the behavior above is actually working as intended - and in fact what I've done in the above app is to override the default binding for LogicalKeyboardKey.arrowRight
(by registering my shortcut below WidgetsApp
, which is the part of the tree where DefaultTextEditingShortcuts
registration is done).
I'm guessing the official answer will be to override the default binding at the WidgetsApp
layer (via WidgetsApp.shortcuts
)
from flutter.
I'm guessing the official answer will be to override the default binding at the WidgetsApp layer (via WidgetsApp.shortcuts)
Yes, that seems like the right answer. You can get the map of default shortcuts from WidgetsApp.defaultShortcuts
, and replace the ones you want to change.
from flutter.
Closing as working as intended.
from flutter.
If you see any docs about this that should change let me know though!
from flutter.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
from flutter.
Related Issues (20)
- path_provider_win/linux should support Dart-only use cases HOT 3
- [Impeller] 7% `animated_advanced_blend_perf__timeline_summary`:`average_frame_build_time_millis` regression HOT 2
- Add a prefix to files output to `${FLUTTER_LOGS_DIR}` HOT 5
- mac-26 lost external connection phone device. HOT 1
- mac-24 lost external connection phone device. HOT 1
- [Impeller] unexpected change in `average_frame_rasterizer_time_millis` HOT 3
- Deprecate crop/rotation support for Android plugins, consider Dart alternative HOT 5
- Cannot generate docs with a local version of the snippets tool HOT 26
- error after update to flutter 3.19.2 HOT 6
- Laying out an empty paragraph produces a single line metric in the HTML renderer HOT 4
- [camerax] Add error handling and documentation for using incompatible concurrent `UseCase` groups
- mac-8 lost external connection phone device. HOT 1
- [Android] Prompt when unable to install the APK due to conflicts HOT 2
- Tried running test of "Step_02" (firebase-get-to-know-flutter codelab) on mobile (emulator / Android) with Android Studio. Much Breakage. HOT 1
- Commit 88baf62f made gtk+-3.0 an unconditional requirement HOT 4
- [Impeller] The API should disallow creating separate depth and stencil attachments. HOT 1
- Linux docs_publish shard is missing runs HOT 2
- Speed up engine `flutter/tools/gn` by not running python code
- Prepare an engine variant that tracks work towards removing heavy dependencies.
- Track the size of the slimmed down engine variant as a benchmark. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.