Enable avoid_redundant_argument_values lint (#91409)

This commit is contained in:
Ian Hickson
2021-10-07 20:13:02 -07:00
committed by GitHub
parent 4bf7179e51
commit 5fd259be24
667 changed files with 1693 additions and 3385 deletions

View File

@@ -248,13 +248,10 @@ class DragAndDropAppState extends State<DragAndDropApp> {
children: <Widget>[
Expanded(
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: <Widget>[
ExampleDragSource(
color: Colors.yellow.shade300,
under: true,
heavy: false,
child: const Text('under'),
),
ExampleDragSource(
@@ -266,7 +263,6 @@ class DragAndDropAppState extends State<DragAndDropApp> {
ExampleDragSource(
color: Colors.indigo.shade300,
under: false,
heavy: false,
child: const Text('above'),
),
],

View File

@@ -89,7 +89,6 @@ class _HoverDemoState extends State<HoverDemo> {
const Padding(
padding: EdgeInsets.all(8.0),
child: TextField(
autofocus: false,
decoration: InputDecoration(
border: OutlineInputBorder(),
labelText: 'Enter Text',

View File

@@ -96,7 +96,6 @@ class _HomeState extends State<Home> {
Padding(
padding: const EdgeInsets.symmetric(horizontal: 20.0),
child: Slider(
min: 0.0,
max: 1024.0,
value: seed.toDouble(),
label: '$seed',