getAppName static method

Future<String> getAppName()

Implementation

static Future<String> getAppName() async {
  PackageInfo packageInfo = await PackageInfo.fromPlatform();
  return packageInfo.appName;
}