Prefer const constructors (#11853)
* upgrade to linter-0.1.35 * re-enable lint prefer_const_constructors * address review comments
This commit is contained in:
committed by
GitHub
parent
f0bf7b5c8c
commit
bb4f4070f9
@@ -16,7 +16,7 @@ Future<TestStepResult> systemNavigatorPop() {
|
||||
|
||||
channel.setMessageHandler((String message) async {
|
||||
completer.complete(
|
||||
new TestStepResult('System navigation pop', '', TestStatus.ok));
|
||||
const TestStepResult('System navigation pop', '', TestStatus.ok));
|
||||
return '';
|
||||
});
|
||||
SystemNavigator.pop();
|
||||
|
||||
Reference in New Issue
Block a user