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

@@ -53,7 +53,6 @@ class MyApp extends StatelessWidget {
padding: const EdgeInsets.all(20.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start,
children: <Widget>[
const SelectableText(
'Desktop app for managing a release of the Flutter SDK, currently in development',

View File

@@ -75,12 +75,7 @@ class MainProgressionState extends State<MainProgression> {
stateFilePath: widget.stateFilePath,
),
Stepper(
controlsBuilder: (BuildContext context, ControlsDetails details) {
return Row(
children: const <Widget>[],
);
},
type: StepperType.vertical,
controlsBuilder: (BuildContext context, ControlsDetails details) => Row(),
physics: const ScrollPhysics(),
currentStep: _completedStep,
onStepContinue: nextStep,
@@ -127,9 +122,7 @@ class MainProgressionState extends State<MainProgression> {
),
Step(
title: Text(MainProgression._stepTitles[4]),
content: Column(
children: const <Widget>[],
),
content: Column(),
isActive: true,
state: handleStepState(4),
),

View File

@@ -18,7 +18,6 @@ void main() {
child: Column(
children: const <Widget>[
MainProgression(
releaseState: null,
stateFilePath: './testPath',
),
],
@@ -62,7 +61,6 @@ void main() {
child: Column(
children: const <Widget>[
MainProgression(
releaseState: null,
stateFilePath: './testPath',
),
],