[flutter_tool] Reland: support --fast-start for Android applications (as an opt-in) (#46140)

This commit is contained in:
Jonah Williams
2019-12-10 10:26:14 -08:00
committed by GitHub
parent 0bec3dc3d2
commit bda9d90804
20 changed files with 369 additions and 37 deletions

View File

@@ -0,0 +1,16 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:splash/main.dart' as entrypoint;
void main() {
testWidgets('Displays flutter logo', (WidgetTester tester) async {
entrypoint.main();
expect(find.byType(FlutterLogo), findsOneWidget);
});
}