You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/01/18 19:21:53 UTC

[GitHub] [beam] damondouglas commented on a change in pull request #16373: [BEAM-13515] [Playground] Hiding lines in an example that are not necessary

damondouglas commented on a change in pull request #16373:
URL: https://github.com/apache/beam/pull/16373#discussion_r787076397



##########
File path: playground/frontend/lib/modules/editor/components/editor_textarea.dart
##########
@@ -51,6 +60,7 @@ class EditorTextArea extends StatefulWidget {
 
 class _EditorTextAreaState extends State<EditorTextArea> {
   CodeController? _codeController;
+  FocusNode focusNode = FocusNode();

Review comment:
       @miamihotline not critical but in dart we do not need to repeat the class name.  This works as well and is probably more clear: `var focusNode = FocusNode()`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org