Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: pkg/analysis_server/test/services/correction/flutter_util.dart

Issue 2849703002: Fix following comma detection in code completion (#29503). (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test.services.correction.flutter_util; 5 library test.services.correction.flutter_util;
6 6
7 String flutterPkgLibPath = '/packages/flutter/lib'; 7 String flutterPkgLibPath = '/packages/flutter/lib';
8 8
9 String get flutter_framework_code => ''' 9 String get flutter_framework_code => '''
10 class Widget {} 10 class Widget {}
11 class RenderObjectWidget extends Widget {} 11 class RenderObjectWidget extends Widget {}
12 class StatelessWidget extends Widget {} 12 class StatelessWidget extends Widget {}
13 abstract class StatefulWidget extends Widget { }
13 class SingleChildRenderObjectWidget extends RenderObjectWidget {} 14 class SingleChildRenderObjectWidget extends RenderObjectWidget {}
14 class Transform extends SingleChildRenderObjectWidget {} 15 class Transform extends SingleChildRenderObjectWidget {}
15 class ClipRect extends SingleChildRenderObjectWidget { ClipRect.rect(){} } 16 class ClipRect extends SingleChildRenderObjectWidget { ClipRect.rect(){} }
16 class AspectRatio extends SingleChildRenderObjectWidget {} 17 class AspectRatio extends SingleChildRenderObjectWidget {}
17 class Container extends StatelessWidget { Container({child: null, width: null, h eight: null}){}} 18 class Container extends StatelessWidget { Container({child: null, width: null, h eight: null}){}}
18 class Center extends StatelessWidget { Center({child: null, key: null}){}} 19 class Center extends StatelessWidget { Center({child: null, key: null}){}}
19 class DefaultTextStyle extends StatelessWidget { DefaultTextStyle({child: null}) {}} 20 class DefaultTextStyle extends StatelessWidget { DefaultTextStyle({child: null}) {}}
20 class Row extends Widget { Row({List<Widget> children: null, key: null}){}} 21 class Row extends Widget { Row({List<Widget> children: null, key: null}){}}
21 class GestureDetector extends SingleChildRenderObjectWidget { GestureDetector({c hild: null, onTap: null}){}} 22 class GestureDetector extends SingleChildRenderObjectWidget { GestureDetector({c hild: null, onTap: null}){}}
22 class Scaffold extends Widget { Scaffold({body: null}){}} 23 class AppBar extends StatefulWidget implements PreferredSizeWidget { AppBar(titl e: null, color: null, key: null) }
24 class Scaffold extends Widget { Scaffold({body: null, PreferredSizeWidget appBar : null}){}}
25 class PreferredSizeWidget implements Widget {}
23 '''; 26 ''';
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698