Skip to content

Commit

Permalink
Add TODOs to remove lint ignore directives. (flutter#21170)
Browse files Browse the repository at this point in the history
This is follow-up to flutter#21143.
  • Loading branch information
aam authored Aug 29, 2018
1 parent 1e5cb2d commit a7d954e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/flutter/lib/src/widgets/platform_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions packages/flutter/lib/src/widgets/scroll_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a7d954e

Please sign in to comment.