From 22ab369c022e0acc6d708ddb5c2a4acadc9afdbd Mon Sep 17 00:00:00 2001 From: X Code Date: Mon, 14 Feb 2022 07:08:43 -0800 Subject: [PATCH] Update RawEditor --- lib/src/widgets/raw_editor.dart | 2 ++ 1 file changed, 2 insertions(+) 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.