1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

add thumbnails to the books example to make memory leaks easier to test (#1353)

* add thumbnails to the books example to make memory leaks easier to test

* also add profile build

* migrate material 3 demo code to avoid warning

* Revert "migrate material 3 demo code to avoid warning"

This reverts commit 7df37d9f65.

* fix lints in various packages

* DoNothingAndStopPropagationIntent const conflicts between stable and beta, add lint ignore for now
This commit is contained in:
xster
2022-08-23 23:45:12 -07:00
committed by GitHub
parent dd7306bb5e
commit ce35e45702
13 changed files with 170 additions and 40 deletions

View File

@@ -697,16 +697,21 @@ class BasicTextInputClientState extends State<BasicTextInputClient>
<ShortcutActivator, Intent>{
// Activation
const SingleActivator(LogicalKeyboardKey.space):
// ignore: prefer_const_constructors
DoNothingAndStopPropagationIntent(),
// Scrolling
const SingleActivator(LogicalKeyboardKey.arrowUp):
// ignore: prefer_const_constructors
DoNothingAndStopPropagationIntent(),
const SingleActivator(LogicalKeyboardKey.arrowDown):
// ignore: prefer_const_constructors
DoNothingAndStopPropagationIntent(),
const SingleActivator(LogicalKeyboardKey.arrowLeft):
// ignore: prefer_const_constructors
DoNothingAndStopPropagationIntent(),
const SingleActivator(LogicalKeyboardKey.arrowRight):
// ignore: prefer_const_constructors
DoNothingAndStopPropagationIntent(),
};