flutter_quill_test 9.0.0-dev-6 copy "flutter_quill_test: ^9.0.0-dev-6" to clipboard
flutter_quill_test: ^9.0.0-dev-6 copied to clipboard

Test utilities for flutter_quill which includes methods to simplify interacting with the editor in test cases.

Flutter Quill Test #

Test utilities for flutter_quill which include methods to simplify interacting with the editor in test cases.

Table of Contents #

Installation #

Run the command in your project root folder:

dart pub add dev:flutter_quill_test

Example of how it will look like:

dev_dependencies:
  flutter_quill_test: any # Use latest Version
  flutter_lints: any
  flutter_test:
    sdk: flutter

Testing #

To aid in testing applications using the editor an extension to the flutter WidgetTester is provided which includes methods to simplify interacting with the editor in test cases.

Import the test utilities in your test file:

import 'package:flutter_quill_test/flutter_quill_test.dart';

and then enter text using quillEnterText:

await tester.quillEnterText(find.byType(QuillEditor), 'test\n');

Contributing #

We welcome contributions!

Please follow these guidelines when contributing to our project. See CONTRIBUTING.md for more details.

5
likes
0
points
3.13k
downloads

Publisher

verified publisherfreshplatform.net

Weekly Downloads

Test utilities for flutter_quill which includes methods to simplify interacting with the editor in test cases.

Repository (GitHub)
View/report issues

Topics

#ui #widget #rich-text-editor #quill

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, flutter_quill, flutter_test

More

Packages that depend on flutter_quill_test