You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2023/05/05 15:10:56 UTC
[beam] branch master updated: Update flutter_code_editor to support search (#26571) (#26572)
This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 6fbe4572629 Update flutter_code_editor to support search (#26571) (#26572)
6fbe4572629 is described below
commit 6fbe45726290155e378d8c8b5553b7152a057574
Author: alexeyinkin <al...@akvelon.com>
AuthorDate: Fri May 5 19:10:49 2023 +0400
Update flutter_code_editor to support search (#26571) (#26572)
---
learning/tour-of-beam/frontend/pubspec.lock | 4 ++--
.../lib/src/widgets/output/result_tab_content.dart | 5 +++--
playground/frontend/playground_components/pubspec.yaml | 2 +-
playground/frontend/playground_components_dev/pubspec.yaml | 2 +-
playground/frontend/pubspec.lock | 4 ++--
playground/frontend/pubspec.yaml | 2 +-
6 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/learning/tour-of-beam/frontend/pubspec.lock b/learning/tour-of-beam/frontend/pubspec.lock
index bf9dc3abfd2..6e6305b322d 100644
--- a/learning/tour-of-beam/frontend/pubspec.lock
+++ b/learning/tour-of-beam/frontend/pubspec.lock
@@ -450,10 +450,10 @@ packages:
dependency: transitive
description:
name: flutter_code_editor
- sha256: "53268d72dbe8daaf2a02f13863efd129cc37f599c1dcf85da33a4b34796ca8bd"
+ sha256: "5cd0337a24155dcac85d4f5b0cc8fa022ab19785a968a86726cdc62e363ee428"
url: "https://pub.dev"
source: hosted
- version: "0.2.21"
+ version: "0.2.23"
flutter_driver:
dependency: transitive
description: flutter
diff --git a/playground/frontend/playground_components/lib/src/widgets/output/result_tab_content.dart b/playground/frontend/playground_components/lib/src/widgets/output/result_tab_content.dart
index a47671a5dc8..215493e4c7d 100644
--- a/playground/frontend/playground_components/lib/src/widgets/output/result_tab_content.dart
+++ b/playground/frontend/playground_components/lib/src/widgets/output/result_tab_content.dart
@@ -39,7 +39,9 @@ class ResultTabContent extends StatefulWidget {
class _ResultTabContentState extends State<ResultTabContent> {
final ScrollController _scrollController = ScrollController();
- final CodeController _codeController = CodeController();
+ final CodeController _codeController = CodeController(
+ readOnly: true,
+ );
@override
void initState() {
@@ -104,7 +106,6 @@ class _ResultTabContentState extends State<ResultTabContent> {
return CodeTheme(
data: ext.codeTheme,
child: CodeField(
- readOnly: true,
controller: _codeController,
gutterStyle: GutterStyle.none,
textStyle: ext.codeRootStyle,
diff --git a/playground/frontend/playground_components/pubspec.yaml b/playground/frontend/playground_components/pubspec.yaml
index 6b1459555c8..8109c95e9b2 100644
--- a/playground/frontend/playground_components/pubspec.yaml
+++ b/playground/frontend/playground_components/pubspec.yaml
@@ -36,7 +36,7 @@ dependencies:
enum_map: ^0.2.1
equatable: ^2.0.5
flutter: { sdk: flutter }
- flutter_code_editor: ^0.2.21
+ flutter_code_editor: ^0.2.23
# TODO(nausharipov): return flutter_markdown when it is fixed, https://github.com/apache/beam/issues/26498
# The exact version is used because this non-official package can be poorly maintained.
diff --git a/playground/frontend/playground_components_dev/pubspec.yaml b/playground/frontend/playground_components_dev/pubspec.yaml
index 9b16e971ead..a8b5bc233d7 100644
--- a/playground/frontend/playground_components_dev/pubspec.yaml
+++ b/playground/frontend/playground_components_dev/pubspec.yaml
@@ -27,7 +27,7 @@ environment:
dependencies:
app_state: ^0.9.3
flutter: { sdk: flutter }
- flutter_code_editor: ^0.2.21
+ flutter_code_editor: ^0.2.23
flutter_test: { sdk: flutter }
get_it: ^7.2.0
highlight: ^0.7.0
diff --git a/playground/frontend/pubspec.lock b/playground/frontend/pubspec.lock
index 0a9af87dfd7..def650ca362 100644
--- a/playground/frontend/pubspec.lock
+++ b/playground/frontend/pubspec.lock
@@ -394,10 +394,10 @@ packages:
dependency: "direct dev"
description:
name: flutter_code_editor
- sha256: "53268d72dbe8daaf2a02f13863efd129cc37f599c1dcf85da33a4b34796ca8bd"
+ sha256: "5cd0337a24155dcac85d4f5b0cc8fa022ab19785a968a86726cdc62e363ee428"
url: "https://pub.dev"
source: hosted
- version: "0.2.21"
+ version: "0.2.23"
flutter_driver:
dependency: transitive
description: flutter
diff --git a/playground/frontend/pubspec.yaml b/playground/frontend/pubspec.yaml
index fe997344a22..328e3bb5ba7 100644
--- a/playground/frontend/pubspec.yaml
+++ b/playground/frontend/pubspec.yaml
@@ -52,7 +52,7 @@ dependencies:
dev_dependencies:
build_runner: ^2.1.4
fake_async: ^1.3.0
- flutter_code_editor: ^0.2.21
+ flutter_code_editor: ^0.2.23
flutter_lints: ^2.0.1
flutter_test: { sdk: flutter }
integration_test: { sdk: flutter }