flutter_quill_test

Last updated:

0 purchases

flutter_quill_test Image
flutter_quill_test Images
Add to Cart

Description:

flutter quill test

Flutter Quill Test #
Test utilities for flutter_quill
which include methods to simplify interacting with the editor in test cases.
Table of Contents #

Flutter Quill Test

Table of Contents
Installation
Testing
Contributing



Installation #
Run the command in your project root folder:
dart pub add dev:flutter_quill_test
copied to clipboard
Example of how it will look like:
dev_dependencies:
flutter_quill_test: any # Use latest Version
flutter_lints: any
flutter_test:
sdk: flutter
copied to clipboard
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';
copied to clipboard
and then enter text using quillEnterText:
await tester.quillEnterText(find.byType(QuillEditor), 'test\n');
copied to clipboard
Contributing #
We welcome contributions!
Please follow these guidelines when contributing to our project. See CONTRIBUTING.md for more details.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.