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

outdated

Agile and easy access to device information and internet connection alerts

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 iosTablet = 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
pub points
35%
popularity

Publisher

verified publishermisdevelop.app

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