device_vendor_info 0.1.1
device_vendor_info: ^0.1.1 copied to clipboard
Get hardware information (BIOS, Motherboard and System) into Flutter platform.
Hardware information getter in Flutter environment #
This package offers additional hardware informations regarding on BIOS, motherboard and system that it enables software to allow/restrict features to specific vendors.
Usages #
Install dependencies #
In pubspec.yaml
:
dependencies:
device_vendor_info: # Version constraint
Import & implementation #
import 'package:device_vendor_info/device_vendor_info.dart';
import 'package:flutter/widgets.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
final bios = await DeviceVendorInfo.instance.biosInfo;
print(bios.vendor);
}
License #
BSD-3