flutter_dev_panel_device 1.1.2 copy "flutter_dev_panel_device: ^1.1.2" to clipboard
flutter_dev_panel_device: ^1.1.2 copied to clipboard

Device information module for Flutter Dev Panel

Flutter Dev Panel - Device Module #

pub package License: MIT Flutter

Device information module for Flutter Dev Panel that provides detailed insights into device specifications and system information.

Features #

  • Hardware details - Device model, manufacturer, and unique identifiers
  • Screen metrics - Resolution, pixel density, PPI, and physical size
  • System info - Operating system version and SDK levels
  • Memory status - Available and total RAM
  • App details - Package name, version, build number
  • Battery status - Battery level and charging state

Installation #

dependencies:
  flutter_dev_panel_device:
    path: ../packages/flutter_dev_panel_device

Usage #

import 'package:flutter_dev_panel/flutter_dev_panel.dart';
import 'package:flutter_dev_panel_device/flutter_dev_panel_device.dart';

void main() {
  // Initialize with device module
  DevPanel.initialize(
    modules: [DeviceModule()],
  );
  
  runApp(MyApp());
}

// Access device information
final controller = DeviceInfoController.instance;
await controller.loadDeviceInfo();

final deviceInfo = controller.deviceInfo;
if (deviceInfo != null) {
  print('Device: ${deviceInfo.deviceModel}');
  print('OS: ${deviceInfo.operatingSystem} ${deviceInfo.osVersion}');
  print('Screen: ${deviceInfo.screenWidth}x${deviceInfo.screenHeight}');
  print('PPI: ${deviceInfo.pixelsPerInch}');
}

License #

This project is licensed under the MIT License - see the LICENSE file for details.

0
likes
120
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

Device information module for Flutter Dev Panel

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, flutter, flutter_dev_panel, package_info_plus

More

Packages that depend on flutter_dev_panel_device