attempts to use flavors as for android

This commit is contained in:
Semyon Babushkin
2017-10-24 17:52:07 +03:00
parent fad6060cc3
commit cddb6fd305
16 changed files with 681 additions and 1167 deletions

View File

@@ -12,9 +12,9 @@ const platform = const MethodChannel('com.dinect.checker/instance_id');
/// some changes
void main() {
//platform.invokeMethod('getAppTitle').then((title) {
runApp(new Checker(appName: 'title'));
//});
platform.invokeMethod('getAppTitle').then((title) {
runApp(new Checker(appName: title));
});
}
class Checker extends StatelessWidget {