improve startup time

This commit is contained in:
Devon Carew
2016-02-26 17:53:41 -08:00
parent 3c7ede15b0
commit 4e10bf596c
8 changed files with 207 additions and 92 deletions

View File

@@ -3,8 +3,7 @@
// found in the LICENSE file.
import 'dart:async';
import 'package:archive/archive.dart';
import 'dart:io';
import 'src/flx.dart' as flx;
@@ -12,7 +11,7 @@ import 'src/flx.dart' as flx;
/// pre-compiled snapshot.
Future<int> assembleFlx({
Map manifestDescriptor: const {},
ArchiveFile snapshotFile: null,
File snapshotFile: null,
String assetBasePath: flx.defaultAssetBasePath,
String materialAssetBasePath: flx.defaultMaterialAssetBasePath,
String outputPath: flx.defaultFlxOutputPath,