diff --git a/packages/flutter/test/material/stepper_test.dart b/packages/flutter/test/material/stepper_test.dart index d6c801df4b..ec5f5134b5 100644 --- a/packages/flutter/test/material/stepper_test.dart +++ b/packages/flutter/test/material/stepper_test.dart @@ -400,15 +400,15 @@ void main() { home: Material( child: new Stepper( steps: const [ - const Step( - title: const Text('A'), + Step( + title: Text('A'), state: StepState.editing, - content: const SizedBox(width: 100.0, height: 100.0), + content: SizedBox(width: 100.0, height: 100.0), ), - const Step( - title: const Text('B'), + Step( + title: Text('B'), state: StepState.complete, - content: const SizedBox(width: 100.0, height: 100.0), + content: SizedBox(width: 100.0, height: 100.0), ), ], ),