sort_constructors_first (#22575)
This commit is contained in:
committed by
GitHub
parent
a68b03e9ce
commit
2ea1d81cdc
@@ -13,13 +13,6 @@ typedef TestStep = Future<TestStepResult> Function();
|
||||
const String nothing = '-';
|
||||
|
||||
class TestStepResult {
|
||||
static const TextStyle bold = TextStyle(fontWeight: FontWeight.bold);
|
||||
static const TestStepResult complete = TestStepResult(
|
||||
'Test complete',
|
||||
nothing,
|
||||
TestStatus.complete,
|
||||
);
|
||||
|
||||
const TestStepResult(this.name, this.description, this.status);
|
||||
|
||||
factory TestStepResult.fromSnapshot(AsyncSnapshot<TestStepResult> snapshot) {
|
||||
@@ -45,6 +38,13 @@ class TestStepResult {
|
||||
final String description;
|
||||
final TestStatus status;
|
||||
|
||||
static const TextStyle bold = TextStyle(fontWeight: FontWeight.bold);
|
||||
static const TestStepResult complete = TestStepResult(
|
||||
'Test complete',
|
||||
nothing,
|
||||
TestStatus.complete,
|
||||
);
|
||||
|
||||
Widget asWidget(BuildContext context) {
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
||||
Reference in New Issue
Block a user