Unverified Commit a7d954eb authored by Alexander Aprelev's avatar Alexander Aprelev Committed by GitHub

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

This is follow-up to https://github.com/flutter/flutter/pull/21143.
parent 1e5cb2d8
...@@ -51,6 +51,7 @@ class AndroidView extends StatefulWidget { ...@@ -51,6 +51,7 @@ class AndroidView extends StatefulWidget {
/// The `viewType`, `hitTestBehavior`, and `gestureRecognizers` parameters must not be null. /// The `viewType`, `hitTestBehavior`, and `gestureRecognizers` parameters must not be null.
/// If `creationParams` is not null then `creationParamsCodec` must not be null. /// If `creationParams` is not null then `creationParamsCodec` must not be null.
AndroidView({ // ignore: prefer_const_constructors_in_immutables AndroidView({ // ignore: prefer_const_constructors_in_immutables
// TODO(aam): Remove lint ignore above once dartbug.com/34297 is fixed
Key key, Key key,
@required this.viewType, @required this.viewType,
this.onPlatformViewCreated, this.onPlatformViewCreated,
......
...@@ -51,6 +51,7 @@ abstract class ScrollView extends StatelessWidget { ...@@ -51,6 +51,7 @@ abstract class ScrollView extends StatelessWidget {
/// ///
/// If the [primary] argument is true, the [controller] must be null. /// If the [primary] argument is true, the [controller] must be null.
ScrollView({ // ignore: prefer_const_constructors_in_immutables ScrollView({ // ignore: prefer_const_constructors_in_immutables
// TODO(aam): Remove lint ignore above once dartbug.com/34297 is fixed
Key key, Key key,
this.scrollDirection = Axis.vertical, this.scrollDirection = Axis.vertical,
this.reverse = false, this.reverse = false,
......
...@@ -184,6 +184,7 @@ import 'scrollable.dart'; ...@@ -184,6 +184,7 @@ import 'scrollable.dart';
class SingleChildScrollView extends StatelessWidget { class SingleChildScrollView extends StatelessWidget {
/// Creates a box in which a single widget can be scrolled. /// Creates a box in which a single widget can be scrolled.
SingleChildScrollView({ // ignore: prefer_const_constructors_in_immutables SingleChildScrollView({ // ignore: prefer_const_constructors_in_immutables
// TODO(aam): Remove lint ignore above once dartbug.com/34297 is fixed
Key key, Key key,
this.scrollDirection = Axis.vertical, this.scrollDirection = Axis.vertical,
this.reverse = false, this.reverse = false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment