appName property

String get appName

Implementation

static String get appName => File('pubspec.yaml')
    .readAsStringSync()
    .trim()
    .split('\n')
    .first
    .split('name:')
    .last
    .trim();