app_info_flutter 1.0.0 copy "app_info_flutter: ^1.0.0" to clipboard
app_info_flutter: ^1.0.0 copied to clipboard

PlatformAndroid

A Flutter plugin to retrieve basic app information like name, package name, version, and build number.

app_info_flutter #

A Flutter plugin to retrieve basic app information like name, package name, version, and build number.

Features #

  • Get App Name
  • Get Package Name (Bundle ID)
  • Get Version (e.g., 1.0.0)
  • Get Build Number (e.g., 1)

Getting Started #

Add app_info_flutter as a dependency in your pubspec.yaml file.

dependencies:
  app_info_flutter: ^1.0.0

Usage #

import 'package:app_info_flutter/app_info_flutter.dart';

final _appInfoFlutterPlugin = AppInfoFlutter();

// Get App Name
String? appName = await _appInfoFlutterPlugin.getAppName();

// Get Package Name
String? packageName = await _appInfoFlutterPlugin.getPackageName();

// Get Version
String? version = await _appInfoFlutterPlugin.getVersion();

// Get Build Number
String? buildNumber = await _appInfoFlutterPlugin.getBuildNumber();

Platform Support #

Android iOS

License #

MIT License - see the LICENSE file for details.

0
likes
140
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to retrieve basic app information like name, package name, version, and build number.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on app_info_flutter

Packages that implement app_info_flutter