in flutter run, throw tool exit when --flavor is provided but is not supported on the target device (#139045)

Fixes https://github.com/flutter/flutter/issues/134197
This commit is contained in:
Andrew Kolos
2024-01-05 13:47:58 -08:00
committed by GitHub
parent 8c11aa030d
commit e90e4888b8
13 changed files with 93 additions and 5 deletions

View File

@@ -372,6 +372,9 @@ class AndroidDevice extends Device {
@override
String get name => modelID;
@override
bool get supportsFlavors => true;
@override
Future<bool> isAppInstalled(
ApplicationPackage app, {