center_the_widgets 2.0.0 copy "center_the_widgets: ^2.0.0" to clipboard
center_the_widgets: ^2.0.0 copied to clipboard

Keep mobile-first Flutter layouts centered and readable on web, desktop, tablets, and other large screens.

Changelog #

This changelog tracks notable CenterTheWidgets changes.

The format is based on Keep a Changelog.

2.0.0 - 2026-05-12 #

Added #

  • Added optional height limiting with maxHeightToResize.
  • Added child alignment control with alignment.
  • Added background image fit and alignment controls with edgesImageFit and edgesImageAlignment.
  • Added widget tests for enabled, disabled, wide-screen, narrow-screen, height, and background behavior.
  • Added GitHub Actions CI and Dependabot coverage.
  • Added pub.dev metadata for repository, issue tracker, funding, topics, screenshots, and platform support.

Changed #

  • Modernized the package for Dart 3 and current Flutter stable releases.
  • Reworked the layout implementation around LayoutBuilder, DecoratedBox, Align, and SizedBox so the widget works from bounded Flutter constraints instead of repeatedly reading MediaQuery.
  • Updated README, example docs, API docs, and package description to match the current maintainer style.
  • Updated Flutter lints to the current major version.

Fixed #

  • Removed the old SDK upper-bound publish hint by declaring a current Dart SDK constraint.

1.0.0+3 - 2022-02-03 #

  • Updated package metadata.

1.0.0+2 - 2022-02-03 #

  • Updated README.

1.0.0+1 - 2022-02-02 #

  • Updated package description.

1.0.0 - 2022-02-02 #

  • Initial release.
4
likes
160
points
89
downloads
screenshot

Documentation

API reference

Publisher

verified publishergabrimatic.info

Weekly Downloads

Keep mobile-first Flutter layouts centered and readable on web, desktop, tablets, and other large screens.

Repository (GitHub)
View/report issues

Topics

#flutter #responsive #layout #widget #web

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

flutter

More

Packages that depend on center_the_widgets