safe_area_fraction 0.0.6 copy "safe_area_fraction: ^0.0.6" to clipboard
safe_area_fraction: ^0.0.6 copied to clipboard

A Flutter widget that applies padding based on a fraction of the safe area dimensions.

๐Ÿงพ Changelog #

All notable changes to this project will be documented in this file.
This project follows Semantic Versioning.


0.0.6 - 2025-11-05 #

โœจ Improved #

  • Enhanced documentation with a detailed README.md.
  • Added complete widget and extension test coverage.
  • Organized code under /src/widgets and /src/extensions directories.
  • Fixed linter warnings and aligned with Dart file conventions.
  • Added example app and usage demonstrations.
  • Added flutter_lints for consistent code style.

0.0.1 - 2025-11-04 #

๐ŸŽ‰ Initial Release #

  • Introduced the SafeFraction widget for applying fractional safe-area padding.
  • Added SafeAreaFractionContext extension for quick context-based calculations.
  • Supports all Flutter platforms: Android, iOS, Web, Windows, macOS, Linux.
  • Included unit tests and example usage.
  • Licensed under MIT License.

๐Ÿช„ Upcoming (Planned) #

๐Ÿšง Roadmap #

  • โŒ Add SafeFractionBuilder widget for dynamic layout adjustments.
  • โŒ Add animated safe padding transitions.
  • โŒ Add adaptive layout helpers for foldable devices.
  • โŒ Provide more utility extensions for safe margin/positioning.

๐Ÿ’ฌ Notes #


โค๏ธ Maintained by #

Rahul โ€” passionate Flutter developer building utility-first packages.

2
likes
160
points
13
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter widget that applies padding based on a fraction of the safe area dimensions.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_lints

More

Packages that depend on safe_area_fraction