my_device 0.0.5 copy "my_device: ^0.0.5" to clipboard
my_device: ^0.0.5 copied to clipboard

outdated

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
0
points
37
downloads

Publisher

verified publishermisdevelop.app

Weekly Downloads

Agile and easy access to device information and internet connection alerts

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

connectivity_plus, device_info_plus, flutter, handy_dialogs

More

Packages that depend on my_device