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