fix null safety (#401)

pull/418/head
Dmitry Sboychakov 4 years ago committed by GitHub
parent f253f582d5
commit 2f298c6672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/src/widgets/controller.dart

@ -85,7 +85,7 @@ class QuillController extends ChangeNotifier {
}
void _handleHistoryChange(int? len) {
if (len != 0) {
if (len! != 0) {
// if (this.selection.extentOffset >= document.length) {
// // cursor exceeds the length of document, position it in the end
// updateSelection(

Loading…
Cancel
Save