Unverified Commit 95d3ac70 authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

Fix sample lint warnings (#77980)

Landing this on red to fix the build.

TBR=@justinmc
parent a8d820a4
...@@ -33,11 +33,11 @@ import 'text_editing_intents.dart'; ...@@ -33,11 +33,11 @@ import 'text_editing_intents.dart';
/// child: Center( /// child: Center(
/// child: Shortcuts( /// child: Shortcuts(
/// shortcuts: <LogicalKeySet, Intent>{ /// shortcuts: <LogicalKeySet, Intent>{
/// LogicalKeySet(LogicalKeyboardKey.alt, LogicalKeyboardKey.arrowDown): NextFocusIntent(), /// LogicalKeySet(LogicalKeyboardKey.alt, LogicalKeyboardKey.arrowDown): const NextFocusIntent(),
/// LogicalKeySet(LogicalKeyboardKey.alt, LogicalKeyboardKey.arrowUp): PreviousFocusIntent(), /// LogicalKeySet(LogicalKeyboardKey.alt, LogicalKeyboardKey.arrowUp): const PreviousFocusIntent(),
/// }, /// },
/// child: Column( /// child: Column(
/// children: <Widget>[ /// children: const <Widget>[
/// TextField( /// TextField(
/// decoration: InputDecoration( /// decoration: InputDecoration(
/// hintText: 'alt + down moves to the next field.', /// hintText: 'alt + down moves to the next field.',
...@@ -69,7 +69,7 @@ import 'text_editing_intents.dart'; ...@@ -69,7 +69,7 @@ import 'text_editing_intents.dart';
/// class DecrementCounterIntent extends Intent {} /// class DecrementCounterIntent extends Intent {}
/// ///
/// class MyWidget extends StatefulWidget { /// class MyWidget extends StatefulWidget {
/// MyWidget({ Key? key }) : super(key: key); /// const MyWidget({ Key? key }) : super(key: key);
/// ///
/// @override /// @override
/// MyWidgetState createState() => MyWidgetState(); /// MyWidgetState createState() => MyWidgetState();
...@@ -89,7 +89,7 @@ import 'text_editing_intents.dart'; ...@@ -89,7 +89,7 @@ import 'text_editing_intents.dart';
/// child: Column( /// child: Column(
/// mainAxisAlignment: MainAxisAlignment.center, /// mainAxisAlignment: MainAxisAlignment.center,
/// children: <Widget>[ /// children: <Widget>[
/// Text( /// const Text(
/// 'You have pushed the button this many times:', /// 'You have pushed the button this many times:',
/// ), /// ),
/// Text( /// Text(
...@@ -118,7 +118,7 @@ import 'text_editing_intents.dart'; ...@@ -118,7 +118,7 @@ import 'text_editing_intents.dart';
/// }, /// },
/// ), /// ),
/// }, /// },
/// child: TextField( /// child: const TextField(
/// maxLines: 2, /// maxLines: 2,
/// decoration: InputDecoration( /// decoration: InputDecoration(
/// hintText: 'Up/down increment/decrement here.', /// hintText: 'Up/down increment/decrement here.',
...@@ -126,7 +126,7 @@ import 'text_editing_intents.dart'; ...@@ -126,7 +126,7 @@ import 'text_editing_intents.dart';
/// ), /// ),
/// ), /// ),
/// ), /// ),
/// TextField( /// const TextField(
/// maxLines: 2, /// maxLines: 2,
/// decoration: InputDecoration( /// decoration: InputDecoration(
/// hintText: 'Up/down behave normally here.', /// hintText: 'Up/down behave normally here.',
......
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