diff --git a/example/assets/fonts/SF-Pro-Display-Regular.otf b/example/assets/fonts/SF-Pro-Display-Regular.otf new file mode 100644 index 00000000..1279121f Binary files /dev/null and b/example/assets/fonts/SF-Pro-Display-Regular.otf differ diff --git a/lib/src/models/structs/link_dialog_action.dart b/lib/src/models/structs/link_dialog_action.dart new file mode 100644 index 00000000..06288c9f --- /dev/null +++ b/lib/src/models/structs/link_dialog_action.dart @@ -0,0 +1,7 @@ +import 'package:flutter/material.dart'; + +class LinkDialogAction { + LinkDialogAction({required this.builder}); + + Widget Function(bool canPress, void Function() applyLink) builder; +} diff --git a/lib/src/widgets/raw_editor.dart b/lib/src/widgets/raw_editor.dart index 2b3ba326..aa2119ec 100644 --- a/lib/src/widgets/raw_editor.dart +++ b/lib/src/widgets/raw_editor.dart @@ -360,6 +360,7 @@ class RawEditorState extends EditorState onSelectAll: selectAllEnabled ? () => selectAll(SelectionChangedCause.toolbar) : null, + onLiveTextInput: () {}, ); } @@ -1746,6 +1747,10 @@ class RawEditorState extends EditorState } } } + + @override + // TODO: implement liveTextInputEnabled + bool get liveTextInputEnabled => throw UnimplementedError(); } class _Editor extends MultiChildRenderObjectWidget {