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

a Flutter package for a scalable, adaptive and responsive UI

melos badge license badge

adaptive_style #

a collection of widgets to build scalable UI

WARNING #

this package is an early release and under development breaking changes are most likely to occur

how does it work? #

  • wrap your app in a ScaleRefProvider
  • provide a list of supported sizes
ScaleRefProvider(
    deviceSizes: const [DeviceSize.iphoneSE],
///...
  • use SizeRef to get
    • the closest supported size
    • the scale between the device size and the supported size

what's included? #

  • AdaptiveWidget: the base to build your own custom adaptive widget
  • AdaptiveStack: just like a Stack but builds it's children as an AdaptiveWidget
  • AdaptivePositioned: a Positioned that place itself at one of the parent's edges
1
likes
120
points
61
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

a Flutter package for a scalable, adaptive and responsive UI

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, meta, yak_flutter

More

Packages that depend on adaptive_style