re-re-enable lint unnecessary_const (#20103)
This commit is contained in:
committed by
GitHub
parent
ffbaa97b50
commit
eda03e2586
@@ -7,9 +7,9 @@ import 'package:flutter/services.dart';
|
||||
import 'test_step.dart';
|
||||
|
||||
Future<TestStepResult> systemNavigatorPop() {
|
||||
const BasicMessageChannel<String> channel = const BasicMessageChannel<String>(
|
||||
const BasicMessageChannel<String> channel = BasicMessageChannel<String>(
|
||||
'navigation-test',
|
||||
const StringCodec(),
|
||||
StringCodec(),
|
||||
);
|
||||
|
||||
final Completer<TestStepResult> completer = new Completer<TestStepResult>();
|
||||
|
||||
@@ -13,8 +13,8 @@ typedef Future<TestStepResult> TestStep();
|
||||
const String nothing = '-';
|
||||
|
||||
class TestStepResult {
|
||||
static const TextStyle bold = const TextStyle(fontWeight: FontWeight.bold);
|
||||
static const TestStepResult complete = const TestStepResult(
|
||||
static const TextStyle bold = TextStyle(fontWeight: FontWeight.bold);
|
||||
static const TestStepResult complete = TestStepResult(
|
||||
'Test complete',
|
||||
nothing,
|
||||
TestStatus.complete,
|
||||
|
||||
Reference in New Issue
Block a user