quillEnterText method
Give the QuillEditor widget specified by finder
the focus and update its
editing value with text
, as if it had been provided by the onscreen
keyboard.
The widget specified by finder
must be a QuillEditor
or have a
QuillEditor
descendant. For example find.byType(QuillEditor)
.
Implementation
Future<void> quillEnterText(Finder finder, String text) async {
return TestAsyncUtils.guard(() async {
await quillGiveFocus(finder);
await quillUpdateEditingValue(finder, text);
await idle();
});
}