diff --git a/lib/src/widgets/raw_editor.dart b/lib/src/widgets/raw_editor.dart index 8a2d2f38..39e3c8be 100644 --- a/lib/src/widgets/raw_editor.dart +++ b/lib/src/widgets/raw_editor.dart @@ -211,6 +211,8 @@ class RawEditor extends StatefulWidget { /// and paste, and moving the caret will be disabled. final bool enableInteractiveSelection; + bool get selectionEnabled => enableInteractiveSelection; + /// The [ScrollPhysics] to use when vertically scrolling the input. /// /// If not specified, it will behave according to the current platform.