version constant

String? const version

The Flutter version used to compile the app.

Implementation

static const String? version = bool.hasEnvironment('FLUTTER_VERSION')
    ? String.fromEnvironment('FLUTTER_VERSION')
    : null;