screen_dimension 0.0.1
screen_dimension: ^0.0.1 copied to clipboard

Flutter plugin for getting android device screen height.

screen_dimension #

Flutter plugin for getting Android device height.

Usage #

Future<void> _getHeight() async {
    double height;
    try {
      height = await ScreenDimension.getHeight;
    } on PlatformException {
      height = 0;
    }
}

ScreenDimension.getHeight is asynchronous task.

Contributing #

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License #

BSD

0
likes
70
pub points
14%
popularity

Flutter plugin for getting android device screen height.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

my123flutter@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on screen_dimension