attempts to use flavors as for android
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user