add missing trailing commas in list/set/map literals (#102585)
This commit is contained in:
committed by
GitHub
parent
0b80f08cf0
commit
07f1c20474
@@ -13,10 +13,12 @@ import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:platform/platform.dart';
|
||||
|
||||
// 1x1 colored pixel
|
||||
const List<int> _kFailPngBytes = <int>[137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0,
|
||||
const List<int> _kFailPngBytes = <int>[
|
||||
137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0,
|
||||
13, 73, 72, 68, 82, 0, 0, 0, 1, 0, 0, 0, 1, 8, 6, 0, 0, 0, 31, 21, 196, 137,
|
||||
0, 0, 0, 13, 73, 68, 65, 84, 120, 1, 99, 249, 207, 240, 255, 63, 0, 7, 18, 3,
|
||||
2, 164, 147, 160, 197, 0, 0, 0, 0, 73, 69, 78, 68, 174, 66, 96, 130];
|
||||
2, 164, 147, 160, 197, 0, 0, 0, 0, 73, 69, 78, 68, 174, 66, 96, 130,
|
||||
];
|
||||
|
||||
void main() {
|
||||
final MemoryFileSystem fs = MemoryFileSystem();
|
||||
|
||||
@@ -33,7 +33,7 @@ class _AnimatedComplexOpacityState extends State<AnimatedComplexOpacity> with Si
|
||||
for (int i = 0; i < 20; i++)
|
||||
FadeTransition(opacity: animation, child: Center(
|
||||
child: Transform.scale(scale: 1.01, child: const ModeratelyComplexWidget()),
|
||||
))
|
||||
)),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -28,7 +28,7 @@ class OpacityPeepholePage extends StatelessWidget {
|
||||
onPressed: () {
|
||||
Navigator.pushNamed(context, variant.route);
|
||||
},
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@@ -62,7 +62,7 @@ class ListItem extends StatelessWidget {
|
||||
_buildUserInfo(),
|
||||
const SizedBox(
|
||||
height: 10,
|
||||
)
|
||||
),
|
||||
];
|
||||
if (index % 3 != 0) {
|
||||
contents.add(_buildImageContent());
|
||||
@@ -140,7 +140,7 @@ class ListItem extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(
|
||||
width: 15,
|
||||
)
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ class _PostBackdropFilterPageState extends State<PostBackdropFilterPage> with Ti
|
||||
],
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
@@ -67,7 +67,7 @@ final GetStackPointerCallback getStackPointer = () {
|
||||
// "mov r0, sp" in machine code: 0D00A0E1.
|
||||
0x0d, 0x00, 0xa0, 0xe1,
|
||||
// "bx lr" in machine code: 1EFF2FE1.
|
||||
0x1e, 0xff, 0x2f, 0xe1
|
||||
0x1e, 0xff, 0x2f, 0xe1,
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
@@ -393,7 +393,7 @@ class PaletteTabView extends StatelessWidget {
|
||||
600,
|
||||
700,
|
||||
800,
|
||||
900
|
||||
900,
|
||||
];
|
||||
static const List<int> accentKeys = <int>[100, 200, 400, 700];
|
||||
|
||||
|
||||
@@ -45,8 +45,8 @@ void main() {
|
||||
position: location + movePerRun * t.toDouble(),
|
||||
pointer: 1,
|
||||
delta: movePerRun,
|
||||
)
|
||||
])
|
||||
),
|
||||
]),
|
||||
],
|
||||
PointerEventRecord(totalTime, <PointerEvent>[
|
||||
PointerUpEvent(
|
||||
@@ -54,8 +54,8 @@ void main() {
|
||||
timeStamp: totalTime - const Duration(milliseconds: 1),
|
||||
position: location + movePerRun * moveEventNumber.toDouble(),
|
||||
pointer: 1,
|
||||
)
|
||||
])
|
||||
),
|
||||
]),
|
||||
];
|
||||
|
||||
binding.framePolicy = LiveTestWidgetsFlutterBindingFramePolicy.benchmarkLive;
|
||||
|
||||
@@ -11,7 +11,7 @@ void main() {
|
||||
'opacity_peephole_col_of_rows_perf',
|
||||
<ScrollableButtonRoute>[
|
||||
ScrollableButtonRoute(kScrollableName, kOpacityPeepholeRouteName),
|
||||
ScrollableButtonRoute(kOpacityScrollableName, kOpacityPeepholeOpacityOfColOfRowsRouteName)
|
||||
ScrollableButtonRoute(kOpacityScrollableName, kOpacityPeepholeOpacityOfColOfRowsRouteName),
|
||||
],
|
||||
pageDelay: const Duration(seconds: 1),
|
||||
duration: const Duration(seconds: 10),
|
||||
|
||||
@@ -11,7 +11,7 @@ void main() {
|
||||
'opacity_peephole_fade_transition_text_perf',
|
||||
<ScrollableButtonRoute>[
|
||||
ScrollableButtonRoute(kScrollableName, kOpacityPeepholeRouteName),
|
||||
ScrollableButtonRoute(kOpacityScrollableName, kOpacityPeepholeFadeTransitionTextRouteName)
|
||||
ScrollableButtonRoute(kOpacityScrollableName, kOpacityPeepholeFadeTransitionTextRouteName),
|
||||
],
|
||||
pageDelay: const Duration(seconds: 1),
|
||||
duration: const Duration(seconds: 10),
|
||||
|
||||
@@ -11,7 +11,7 @@ void main() {
|
||||
'opacity_peephole_grid_of_opacity_perf',
|
||||
<ScrollableButtonRoute>[
|
||||
ScrollableButtonRoute(kScrollableName, kOpacityPeepholeRouteName),
|
||||
ScrollableButtonRoute(kOpacityScrollableName, kOpacityPeepholeGridOfOpacityRouteName)
|
||||
ScrollableButtonRoute(kOpacityScrollableName, kOpacityPeepholeGridOfOpacityRouteName),
|
||||
],
|
||||
pageDelay: const Duration(seconds: 1),
|
||||
duration: const Duration(seconds: 10),
|
||||
|
||||
@@ -11,7 +11,7 @@ void main() {
|
||||
'opacity_peephole_one_rect_perf',
|
||||
<ScrollableButtonRoute>[
|
||||
ScrollableButtonRoute(kScrollableName, kOpacityPeepholeRouteName),
|
||||
ScrollableButtonRoute(kOpacityScrollableName, kOpacityPeepholeOneRectRouteName)
|
||||
ScrollableButtonRoute(kOpacityScrollableName, kOpacityPeepholeOneRectRouteName),
|
||||
],
|
||||
pageDelay: const Duration(seconds: 1),
|
||||
duration: const Duration(seconds: 10),
|
||||
|
||||
@@ -11,7 +11,7 @@ void main() {
|
||||
'opacity_peephole_opacity_of_grid_perf',
|
||||
<ScrollableButtonRoute>[
|
||||
ScrollableButtonRoute(kScrollableName, kOpacityPeepholeRouteName),
|
||||
ScrollableButtonRoute(kOpacityScrollableName, kOpacityPeepholeOpacityOfGridRouteName)
|
||||
ScrollableButtonRoute(kOpacityScrollableName, kOpacityPeepholeOpacityOfGridRouteName),
|
||||
],
|
||||
pageDelay: const Duration(seconds: 1),
|
||||
duration: const Duration(seconds: 10),
|
||||
|
||||
@@ -78,7 +78,7 @@ void main() {
|
||||
'integer': 1234,
|
||||
'string': 'This is a performance test.',
|
||||
'float': 1.25,
|
||||
'boolean': true
|
||||
'boolean': true,
|
||||
});
|
||||
}
|
||||
watch.stop();
|
||||
|
||||
@@ -81,7 +81,7 @@ void main() {
|
||||
'integer': 1234,
|
||||
'string': 'This is a performance test.',
|
||||
'float': 1.25,
|
||||
'boolean': true
|
||||
'boolean': true,
|
||||
}));
|
||||
}
|
||||
watch.stop();
|
||||
|
||||
@@ -160,7 +160,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
0.0), // 10% of the width, so there are ten blinds.
|
||||
colors: <Color>[
|
||||
Color(0xffee0000),
|
||||
Color(0xffeeee00)
|
||||
Color(0xffeeee00),
|
||||
], // red to yellow
|
||||
tileMode: TileMode
|
||||
.repeated, // repeats the gradient over the canvas
|
||||
@@ -172,7 +172,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
CustomPaint(
|
||||
painter: Sky(),
|
||||
size: const Size(200.0, 36.0),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -97,7 +97,7 @@ abstract class StockStrings {
|
||||
static const List<Locale> supportedLocales = <Locale>[
|
||||
Locale('en'),
|
||||
Locale('en', 'US'),
|
||||
Locale('es')
|
||||
Locale('es'),
|
||||
];
|
||||
|
||||
/// Title for the Stocks application
|
||||
|
||||
@@ -638,7 +638,7 @@ Future<void> verifyNoBadImportsInFlutter(String workingDirectory) async {
|
||||
'These are the exported packages:',
|
||||
...packages.map<String>((String path) => ' lib/$path.dart'),
|
||||
'These are the directories:',
|
||||
...directories.map<String>((String path) => ' lib/src/$path/')
|
||||
...directories.map<String>((String path) => ' lib/src/$path/'),
|
||||
].join('\n'));
|
||||
}
|
||||
// Verify that the imports are well-ordered.
|
||||
@@ -1585,7 +1585,7 @@ Future<void> _checkConsumerDependencies() async {
|
||||
'pub',
|
||||
'deps',
|
||||
'--json',
|
||||
'--directory=${path.join(flutterRoot, 'packages', package)}'
|
||||
'--directory=${path.join(flutterRoot, 'packages', package)}',
|
||||
]);
|
||||
if (result.exitCode != 0) {
|
||||
print(result.stdout as Object);
|
||||
|
||||
@@ -239,7 +239,7 @@ Future<void> runWebServiceWorkerTest({
|
||||
...<String, int>{
|
||||
'manifest.json': 1,
|
||||
'favicon.ico': 1,
|
||||
}
|
||||
},
|
||||
});
|
||||
expect(reportedVersion, '1');
|
||||
reportedVersion = null;
|
||||
@@ -313,7 +313,7 @@ Future<void> runWebServiceWorkerTest({
|
||||
...<String, int>{
|
||||
'manifest.json': 1,
|
||||
'favicon.ico': 1,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
expect(reportedVersion, '3');
|
||||
@@ -366,7 +366,7 @@ Future<void> runWebServiceWorkerTest({
|
||||
...<String, int>{
|
||||
'manifest.json': 1,
|
||||
'favicon.ico': 1,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
expect(reportedVersion, '4');
|
||||
|
||||
@@ -1268,7 +1268,7 @@ Future<void> _runFlutterPluginsTests() async {
|
||||
'core.longPaths=true',
|
||||
'clone',
|
||||
'https://github.com/flutter/plugins.git',
|
||||
'.'
|
||||
'.',
|
||||
],
|
||||
workingDirectory: checkout.path,
|
||||
);
|
||||
@@ -1329,7 +1329,7 @@ Future<void> _runSkpGeneratorTests() async {
|
||||
'core.longPaths=true',
|
||||
'clone',
|
||||
'https://github.com/flutter/tests.git',
|
||||
'.'
|
||||
'.',
|
||||
],
|
||||
workingDirectory: checkout.path,
|
||||
);
|
||||
|
||||
@@ -48,7 +48,7 @@ void main() {
|
||||
command: <String>['echo', 'test',],
|
||||
stdout: 'output',
|
||||
stderr: 'error',
|
||||
)
|
||||
),
|
||||
]);
|
||||
final ProcessRunner processRunner = ProcessRunner(
|
||||
subprocessOutput: false, platform: platform, processManager: fakeProcessManager);
|
||||
@@ -62,7 +62,7 @@ void main() {
|
||||
stdout: 'output',
|
||||
stderr: 'error',
|
||||
exitCode: -1,
|
||||
)
|
||||
),
|
||||
]);
|
||||
final ProcessRunner processRunner = ProcessRunner(
|
||||
subprocessOutput: false, platform: platform, processManager: fakeProcessManager);
|
||||
|
||||
@@ -151,7 +151,7 @@ abstract class Repository {
|
||||
upstreamRemote.name,
|
||||
'--',
|
||||
upstreamRemote.url,
|
||||
checkoutDirectory.path
|
||||
checkoutDirectory.path,
|
||||
],
|
||||
'Cloning $name repo',
|
||||
workingDirectory: parentDirectory.path,
|
||||
@@ -302,7 +302,7 @@ abstract class Repository {
|
||||
'merge-base',
|
||||
'--is-ancestor',
|
||||
possibleDescendant,
|
||||
possibleAncestor
|
||||
possibleAncestor,
|
||||
],
|
||||
'verify $possibleAncestor is a direct ancestor of $possibleDescendant.',
|
||||
allowNonZeroExitCode: true,
|
||||
|
||||
@@ -171,7 +171,7 @@ String phaseInstructions(pb.ConductorState state) {
|
||||
].join('\n');
|
||||
}
|
||||
return <String>[
|
||||
'Either all cherrypicks have been auto-applied or there were none.'
|
||||
'Either all cherrypicks have been auto-applied or there were none.',
|
||||
].join('\n');
|
||||
case ReleasePhase.PUBLISH_VERSION:
|
||||
if (!requiresFrameworkPR(state)) {
|
||||
@@ -201,7 +201,7 @@ String phaseInstructions(pb.ConductorState state) {
|
||||
'\t 1. Post announcement to discord',
|
||||
'\t 2. Post announcement flutter release hotline chat room',
|
||||
'-----------------------------------------------------------------------',
|
||||
'This release has been completed.'
|
||||
'This release has been completed.',
|
||||
].join('\n');
|
||||
}
|
||||
return <String>[
|
||||
@@ -211,7 +211,7 @@ String phaseInstructions(pb.ConductorState state) {
|
||||
'\t 3. Post announcement to discord',
|
||||
'\t 4. Post announcement flutter release hotline chat room',
|
||||
'-----------------------------------------------------------------------',
|
||||
'This release has been completed.'
|
||||
'This release has been completed.',
|
||||
].join('\n');
|
||||
}
|
||||
// For analyzer
|
||||
|
||||
@@ -1124,7 +1124,7 @@ void main() {
|
||||
FakeCommand(
|
||||
command: const <String>['git', 'push', '', 'HEAD:refs/heads/'],
|
||||
exception: GitException(gitPushErrorMessage, <String>['git', 'push', '--force', '', 'HEAD:refs/heads/']),
|
||||
)
|
||||
),
|
||||
]);
|
||||
final NextContext nextContext = NextContext(
|
||||
autoAccept: false,
|
||||
|
||||
@@ -32,11 +32,12 @@ test.windows=.\test_utilities\bin\flutter_test_runner.bat repo_dashboard
|
||||
<String>['git clone https://github.com/flutter/cocoon.git tests', 'git -C tests checkout abc123']));
|
||||
if (Platform.isLinux || Platform.isMacOS) {
|
||||
expect(
|
||||
test.tests,
|
||||
containsAllInOrder(<String>[
|
||||
'./test_utilities/bin/flutter_test_runner.sh app_flutter',
|
||||
'./test_utilities/bin/flutter_test_runner.sh repo_dashboard'
|
||||
]));
|
||||
test.tests,
|
||||
containsAllInOrder(<String>[
|
||||
'./test_utilities/bin/flutter_test_runner.sh app_flutter',
|
||||
'./test_utilities/bin/flutter_test_runner.sh repo_dashboard',
|
||||
]),
|
||||
);
|
||||
} else if (Platform.isWindows) {
|
||||
expect(test.tests, containsAllInOrder(<String>['.\test_utilities\bin\flutter_test_runner.bat repo_dashboard']));
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ Future<void> main() async {
|
||||
'io.flutter.devicelab',
|
||||
'--template',
|
||||
'module',
|
||||
'hello_module'
|
||||
'hello_module',
|
||||
],
|
||||
);
|
||||
|
||||
@@ -410,7 +410,7 @@ Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals
|
||||
'ios-framework',
|
||||
'--cocoapods',
|
||||
'--force', // Allow podspec creation on master.
|
||||
'--output=$cocoapodsOutputDirectoryName'
|
||||
'--output=$cocoapodsOutputDirectoryName',
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
@@ -80,7 +80,7 @@ Future<TaskResult> _doTest() async {
|
||||
'am',
|
||||
'start',
|
||||
'-n',
|
||||
'$_bundleName/$_bundleName.$_activityName'
|
||||
'$_bundleName/$_bundleName.$_activityName',
|
||||
]);
|
||||
await Future<void>.delayed(const Duration(seconds: 10));
|
||||
final Map<String, dynamic> memoryStats =
|
||||
@@ -93,7 +93,7 @@ Future<TaskResult> _doTest() async {
|
||||
ListStatistics(totalMemorySamples);
|
||||
|
||||
final Map<String, dynamic> results = <String, dynamic>{
|
||||
...totalMemoryStatistics.asMap('totalMemory')
|
||||
...totalMemoryStatistics.asMap('totalMemory'),
|
||||
};
|
||||
result = TaskResult.success(results,
|
||||
benchmarkScoreKeys: results.keys.toList());
|
||||
|
||||
@@ -90,7 +90,7 @@ class AaaPlugin: FlutterPlugin, MethodCallHandler {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--debug',
|
||||
'--target-platform=android-arm'
|
||||
'--target-platform=android-arm',
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
@@ -22,7 +22,7 @@ Future<void> main() async {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--debug',
|
||||
'--target-platform=android-arm'
|
||||
'--target-platform=android-arm',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -54,7 +54,7 @@ Future<void> main() async {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--debug',
|
||||
'--target-platform=android-x86'
|
||||
'--target-platform=android-x86',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -85,7 +85,7 @@ Future<void> main() async {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--debug',
|
||||
'--target-platform=android-x64'
|
||||
'--target-platform=android-x64',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -115,7 +115,7 @@ Future<void> main() async {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--release',
|
||||
'--target-platform=android-arm'
|
||||
'--target-platform=android-arm',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -143,7 +143,7 @@ Future<void> main() async {
|
||||
options: <String>[
|
||||
'apk',
|
||||
'--release',
|
||||
'--target-platform=android-arm64'
|
||||
'--target-platform=android-arm64',
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
@@ -55,7 +55,7 @@ Future<void> main() async {
|
||||
if (!Platform.isWindows) {
|
||||
await exec('chmod', <String>[
|
||||
'444',
|
||||
readonlyTxtAssetFile.path
|
||||
readonlyTxtAssetFile.path,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Future<void> main() async {
|
||||
if (!Platform.isWindows) {
|
||||
await exec('chmod', <String>[
|
||||
'444',
|
||||
readonlyTxtAssetFile.path
|
||||
readonlyTxtAssetFile.path,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -425,7 +425,7 @@ end
|
||||
'-archivePath',
|
||||
objectiveCBuildArchiveDirectory.path,
|
||||
'COMPILER_INDEX_STORE_ENABLE=NO',
|
||||
'archive'
|
||||
'archive',
|
||||
],
|
||||
environment: <String, String> {
|
||||
'FLUTTER_ANALYTICS_LOG_FILE': objectiveCAnalyticsOutputFile.path,
|
||||
|
||||
@@ -248,7 +248,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
options: <String>[
|
||||
'ios',
|
||||
'--no-codesign'
|
||||
'--no-codesign',
|
||||
],
|
||||
// TODO(jmagman): Make Objective-C applications handle Swift libraries https://github.com/flutter/flutter/issues/16049
|
||||
canFail: true
|
||||
@@ -272,7 +272,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
options: <String>[
|
||||
'ios',
|
||||
'--no-codesign'
|
||||
'--no-codesign',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -305,7 +305,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
options: <String>[
|
||||
'ios',
|
||||
'--no-codesign'
|
||||
'--no-codesign',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -326,7 +326,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
options: <String>[
|
||||
'ios',
|
||||
'--no-codesign'
|
||||
'--no-codesign',
|
||||
],
|
||||
);
|
||||
});
|
||||
@@ -390,7 +390,7 @@ Future<void> main() async {
|
||||
'build',
|
||||
options: <String>[
|
||||
'ios',
|
||||
'--no-codesign'
|
||||
'--no-codesign',
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
@@ -50,7 +50,7 @@ class ABTest {
|
||||
final Map<String, dynamic> resultMap = results as Map<String, dynamic>;
|
||||
return <String, List<double>> {
|
||||
for (String key in resultMap.keys)
|
||||
key: (resultMap[key] as List<dynamic>).cast<double>()
|
||||
key: (resultMap[key] as List<dynamic>).cast<double>(),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -153,13 +153,13 @@ class ABTest {
|
||||
'Score',
|
||||
'Average A', '(noise)',
|
||||
'Average B', '(noise)',
|
||||
'Speed-up'
|
||||
'Speed-up',
|
||||
];
|
||||
final List<FieldJustification> alignments = <FieldJustification>[
|
||||
FieldJustification.LEFT,
|
||||
FieldJustification.RIGHT, FieldJustification.LEFT,
|
||||
FieldJustification.RIGHT, FieldJustification.LEFT,
|
||||
FieldJustification.CENTER
|
||||
FieldJustification.CENTER,
|
||||
];
|
||||
|
||||
final List<int> lengths = List<int>.filled(6, 0);
|
||||
|
||||
@@ -131,7 +131,7 @@ class GalleryTransitionTest {
|
||||
if (transitionDurationFile != null)
|
||||
'$testOutputDirectory/$transitionDurationFile.json',
|
||||
if (timelineTraceFile != null)
|
||||
'$testOutputDirectory/$timelineTraceFile.json'
|
||||
'$testOutputDirectory/$timelineTraceFile.json',
|
||||
],
|
||||
benchmarkScoreKeys: <String>[
|
||||
if (transitionDurationFile != null)
|
||||
|
||||
@@ -29,7 +29,7 @@ TaskFunction runTask(adb.DeviceOperatingSystem operatingSystem) {
|
||||
'ios,android',
|
||||
'--no-overwrite',
|
||||
'-v',
|
||||
'.'
|
||||
'.',
|
||||
];
|
||||
print('\nExecuting: $flutterExe $createArgs $appDir');
|
||||
await utils.eval(flutterExe, createArgs);
|
||||
|
||||
@@ -82,7 +82,7 @@ void main() {
|
||||
'device_type': 'Moto G Play',
|
||||
'device_version': 'android-25',
|
||||
'host_type': 'linux',
|
||||
'host_version': 'debian-10.11'
|
||||
'host_version': 'debian-10.11',
|
||||
};
|
||||
final List<MetricPoint> metricPoints = parse(results, tags, 'task abc');
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ class _LifeCycleSpyState extends State<LifeCycleSpy> with WidgetsBindingObserver
|
||||
super.initState();
|
||||
WidgetsBinding.instance.addObserver(this);
|
||||
_actualLifeCycleSequence = <AppLifecycleState?>[
|
||||
ServicesBinding.instance.lifecycleState
|
||||
ServicesBinding.instance.lifecycleState,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ class PlatformViewPage extends StatelessWidget {
|
||||
key: button,
|
||||
child: const Text('button'),
|
||||
onPressed: (){},
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@@ -474,7 +474,7 @@ class Icon {
|
||||
'_monoline_filled',
|
||||
'_outlined',
|
||||
'_rounded',
|
||||
'_sharp'
|
||||
'_sharp',
|
||||
];
|
||||
|
||||
late String id; // e.g. 5g, 5g_outlined, 5g_rounded, 5g_sharp
|
||||
|
||||
@@ -274,7 +274,7 @@ void main() {
|
||||
<PathCommandAnimation>[
|
||||
PathCommandAnimation('M', <List<Point<double>>>[
|
||||
<Point<double>>[Point<double>(5.0, 6.0)],
|
||||
])
|
||||
]),
|
||||
],
|
||||
opacities: <double>[1.0],
|
||||
)),
|
||||
|
||||
@@ -34,11 +34,11 @@ void main() {
|
||||
<Map<String, dynamic>>[
|
||||
<String, dynamic>{
|
||||
'name': 'ImageCache.putIfAbsent',
|
||||
'args': <String, dynamic>{'key': 'Test', 'isolateId': isolateId}
|
||||
'args': <String, dynamic>{'key': 'Test', 'isolateId': isolateId},
|
||||
},
|
||||
<String, dynamic>{
|
||||
'name': 'listener',
|
||||
'args': <String, dynamic>{'isolateId': isolateId}
|
||||
'args': <String, dynamic>{'isolateId': isolateId},
|
||||
},
|
||||
<String, dynamic>{
|
||||
'name': 'ImageCache.clear',
|
||||
@@ -48,15 +48,15 @@ void main() {
|
||||
'liveImages': 1,
|
||||
'currentSizeInBytes': 0,
|
||||
'isolateId': isolateId,
|
||||
}
|
||||
},
|
||||
},
|
||||
<String, dynamic>{
|
||||
'name': 'ImageCache.putIfAbsent',
|
||||
'args': <String, dynamic>{'key': 'Test2', 'isolateId': isolateId}
|
||||
'args': <String, dynamic>{'key': 'Test2', 'isolateId': isolateId},
|
||||
},
|
||||
<String, dynamic>{
|
||||
'name': 'ImageCache.evict',
|
||||
'args': <String, dynamic>{'sizeInBytes': 4, 'isolateId': isolateId}
|
||||
'args': <String, dynamic>{'sizeInBytes': 4, 'isolateId': isolateId},
|
||||
},
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user