my_device 0.0.8 icon indicating copy to clipboard operation
my_device: ^0.0.8 copied to clipboard

Agile and easy access to device information and internet connection alerts

My Device

Features #

Agile & easy handler for device information 📱

Getting started #

Once context is initialized run

 Device(context); 

Usage #

Quick access to screen height and width

 var screenHeigth = Device.i.screenHeigth; 
 var screenWidth = Device.i.screenWidth; 

Easy background asset path configuration

  var backgroundAssetPath
  = Device.i.backgroundAssetPath;

Agile access to platform information and disposition

  var webDevice = Device.i.isWeb; 
  var androidDevice = Device.i.isAndroid; 
  var iosDevice = Device.i.isIOS; 
  var isTablet = Device.i.isTablet;

Access to device default padding

 var paddingDevice = Device.i.viewPadding;

Fast access to all device information

  var device = Device.i.mediaQuery;

Fast access to all Device Information Plugin

  var deviceInfo = Device.i.deviceInfo;

Additional information #

This package assumes corresponding permissions depending on platform

4
likes
130
pub points
22%
popularity

Publisher

verified publisher iconmisdevelop.app

Agile and easy access to device information and internet connection alerts

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

connectivity_plus, device_info_plus, flutter, handy_dialogs

More

Packages that depend on my_device