A plugin for using Android devices information in Flutter. You can use it to get Android release version,Android API version,board name,brand name,model name, cpu ABI etc.
Supports in Android now.
- get release version.
- get API version(SDKINT).
- get board name.
- get brand name.
- get model name.
- get CPUABI.
For help getting started with Flutter, view the online Flutter Documentation.
dependencies:
...
flutter_devices_information: any
import 'package:flutter_device_information/flutter_device_information.dart';
///
Your code here.
///
Future<void> getInfos() async {
String platformVersion = await FlutterDeviceInformation.platformVersion;
String sdkInt = await FlutterDeviceInformation.sdkInt;
String board = await FlutterDeviceInformation.board;
String brand = await FlutterDeviceInformation.brand;
String model = await FlutterDeviceInformation.model;
String cpuABI = await FlutterDeviceInformation.cpuAbi;
}
Here is Examples. You can find the sample codes and the screenshot in it.
For help getting started with the library, view the online documentation.
Please request bugs at the issue tracker.
More infomation here: License.