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

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

Issue 2753123003: Add quick-fix to convert child: to children: (Closed)
Patch Set: Created 3 years, 9 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/correction/fix_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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 library test.services.correction.flutter_util;
6
7 String flutterPkgLibPath = '/packages/flutter/lib';
8
9 String get flutter_framework_code => '''
10 class Widget {}
11 class RenderObjectWidget extends Widget {}
12 class StatelessWidget extends Widget {}
13 class SingleChildRenderObjectWidget extends RenderObjectWidget {}
14 class Transform extends SingleChildRenderObjectWidget {}
15 class ClipRect extends SingleChildRenderObjectWidget { ClipRect.rect(){} }
16 class AspectRatio extends SingleChildRenderObjectWidget {}
17 class Container extends StatelessWidget { Container({child: null, width: null, h eight: null}){}}
18 class Center extends StatelessWidget { Center({child: null, key: null}){}}
19 class DefaultTextStyle extends StatelessWidget { DefaultTextStyle({child: null}) {}}
20 class Row extends Widget { Row({children: null}){}}
21 class GestureDetector extends SingleChildRenderObjectWidget { GestureDetector({c hild: null, onTap: null}){}}
22 class Scaffold extends Widget { Scaffold({body: null}){}}
23 ''';
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/services/correction/fix_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698