screen_dimension 0.0.1 copy "screen_dimension: ^0.0.1" to clipboard
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
30
pub points
0%
popularity

Publisher

unverified uploader

Flutter plugin for getting android device screen height.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on screen_dimension