From a8ab3d69341b90f576943404c5c44fe92ea00b59 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Mon, 16 Nov 2015 22:55:35 -0800 Subject: [PATCH] Add all the icon sizes to the FLX Adding all the sizes of all the icons adds about 50 KB to the stocks FLX. That's probably the right trade-off until we get better at pruning the set of assets. Fixes #235 --- packages/flutter_tools/lib/src/commands/build.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/commands/build.dart b/packages/flutter_tools/lib/src/commands/build.dart index b892c10d594..a9a2b7859a0 100644 --- a/packages/flutter_tools/lib/src/commands/build.dart +++ b/packages/flutter_tools/lib/src/commands/build.dart @@ -18,7 +18,7 @@ import 'flutter_command.dart'; const String _kSnapshotKey = 'snapshot_blob.bin'; const List _kDensities = const ['drawable-xxhdpi']; const List _kThemes = const ['white', 'black']; -const List _kSizes = const [24]; +const List _kSizes = const [18, 24, 36, 48]; class _Asset { final String base;