sized_context 1.0.0+4 copy "sized_context: ^1.0.0+4" to clipboard
sized_context: ^1.0.0+4 copied to clipboard

Access MediaQuery sizing info directly on the context, also adds some helper methods for sizing and layout.

1.0.0+4 #

  • Add tests
  • Update linter rules

1.0.0-nullsafety #

  • Migrate to nnbd

0.2.1+1 #

  • Fixed bug for diagonal inches

0.2.1 #

  • Refactored percent api to: pctWidth and pctHeight

0.2.0+4 #

  • Added conditional check for mobile platforms, using 150px/inch rather than 96
  • Added fractional helper methods widthFraction and heightFraction

0.1.2 #

  • Initial version
193
likes
150
pub points
95%
popularity

Publisher

verified publishergskinner.com

Access MediaQuery sizing info directly on the context, also adds some helper methods for sizing and layout.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, universal_platform

More

Packages that depend on sized_context