We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e303a7f commit bed0300Copy full SHA for bed0300
packages/flutter/lib/src/material/input.dart
@@ -255,12 +255,14 @@ class _InputState extends State<Input> {
255
);
256
}
257
258
- return new GestureDetector(
259
- behavior: HitTestBehavior.opaque,
260
- onTap: () => _rawInputLineKey.currentState?.requestKeyboard(),
261
- child: new Padding(
262
- padding: const EdgeInsets.symmetric(horizontal: 16.0),
263
- child: child
+ return new RepaintBoundary(
+ child: new GestureDetector(
+ behavior: HitTestBehavior.opaque,
+ onTap: () => _rawInputLineKey.currentState?.requestKeyboard(),
+ child: new Padding(
+ padding: const EdgeInsets.symmetric(horizontal: 16.0),
264
+ child: child
265
+ )
266
)
267
268
0 commit comments