File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22// Part of PyBLE (https://pyble.dev) — see /LICENSE.
33
44import 'dart:convert' ;
5- import 'dart:typed_data' ;
65
76import 'package:flutter/material.dart' ;
7+ import 'package:flutter/services.dart' ;
88import 'package:flutter_riverpod/flutter_riverpod.dart' ;
99import 'package:flutter_test/flutter_test.dart' ;
1010
@@ -643,7 +643,8 @@ pixels.write()
643643 // even when ensureVisible has scrolled its RenderBox into the viewport.
644644 // Close it before asserting hit-testability so the integration gate tests
645645 // the action rather than emulator keyboard-animation timing.
646- tester.testTextInput.hide ();
646+ FocusManager .instance.primaryFocus? .unfocus ();
647+ await SystemChannels .textInput.invokeMethod <void >('TextInput.hide' );
647648 await tester.pumpAndSettle ();
648649 final Finder replaceWorkspaceAction = find.byKey (
649650 kBlocksExampleReplaceWorkspaceButtonKey,
You can’t perform that action at this time.
0 commit comments