Add TODOs to remove lint ignore directives. (#21170)

This is follow-up to https://github.com/flutter/flutter/pull/21143.
This commit is contained in:
Alexander Aprelev
2018-08-29 10:25:19 -07:00
committed by GitHub
parent 1e5cb2d87f
commit a7d954eb31
3 changed files with 3 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ class AndroidView extends StatefulWidget {
/// The `viewType`, `hitTestBehavior`, and `gestureRecognizers` parameters must not be null.
/// If `creationParams` is not null then `creationParamsCodec` must not be null.
AndroidView({ // ignore: prefer_const_constructors_in_immutables
// TODO(aam): Remove lint ignore above once dartbug.com/34297 is fixed
Key key,
@required this.viewType,
this.onPlatformViewCreated,

View File

@@ -51,6 +51,7 @@ abstract class ScrollView extends StatelessWidget {
///
/// If the [primary] argument is true, the [controller] must be null.
ScrollView({ // ignore: prefer_const_constructors_in_immutables
// TODO(aam): Remove lint ignore above once dartbug.com/34297 is fixed
Key key,
this.scrollDirection = Axis.vertical,
this.reverse = false,

View File

@@ -184,6 +184,7 @@ import 'scrollable.dart';
class SingleChildScrollView extends StatelessWidget {
/// Creates a box in which a single widget can be scrolled.
SingleChildScrollView({ // ignore: prefer_const_constructors_in_immutables
// TODO(aam): Remove lint ignore above once dartbug.com/34297 is fixed
Key key,
this.scrollDirection = Axis.vertical,
this.reverse = false,