dp 0.0.7

Flutter Android iOS web

A flutter db util

It's just a flutter dp util.

  • Usage We assume the design width is 750. And we want get 5 px size.

** Use the global

  1. Initial once
gInit(context);
  1. convert value.
gDp(5);

** Or create a one

var dp = Dp(context);
var size = dp.dp(5);
0
likes
70
pub points
38%
popularity

A flutter db util

Homepage

Documentation

API reference

Uploader

huhuang03@gmail.com

License

unknown (LICENSE)

Dependencies

flutter, path

More

Packages that depend on dp