fix null safety

pull/401/head
Dmitry Sboychakov 4 years ago
parent 0a67139f18
commit dca708ba4d
  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