flutter_quill_test 10.8.5 copy "flutter_quill_test: ^10.8.5" to clipboard
flutter_quill_test: ^10.8.5 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 following command:

flutter pub add dev:flutter_quill_test

Also add flutter_test as a dependency:

dev_dependencies:
  flutter_quill_test: any # Use latest Version
  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 greatly appreciate your time and effort.

To keep the project consistent and maintainable, we have a few guidelines that we ask all contributors to follow. These guidelines help ensure that everyone can understand and work with the code easier.

See Contributing for more details.

5
likes
150
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
Contributing

Topics

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

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, flutter_quill, flutter_test

More

Packages that depend on flutter_quill_test