responsive_size_helper_plus 1.1.0 copy "responsive_size_helper_plus: ^1.1.0" to clipboard
responsive_size_helper_plus: ^1.1.0 copied to clipboard

A Flutter package for creating responsive layouts by converting Figma dimensions to device-specific sizes across all platforms.

Changelog #

1.1.0 #

Added #

  • Widget Extensions: New helper methods for easier widget creation
    • verticalSpace, horizontalSpace, squareSpace extensions on num
    • ResponsiveEdgeInsets helper class with all(), symmetric(), only(), and fromLTRB() methods
    • EdgeInsets.responsive extension for existing EdgeInsets instances
    • ResponsiveSizedBox helper class for creating responsive sized boxes
  • Helper Methods: Internal optimization methods
    • _validateDimension() for cleaner input validation
    • _getScaleFactors() for efficient scale calculation using records
    • _ensureInitialized() to reduce code duplication

Changed #

  • Architecture: Refactored monolithic base file into modular structure
    • Separated exceptions.dart for exception classes
    • Separated extensions.dart for number extensions
    • Separated widget_extensions.dart for widget helpers
    • Core logic remains in responsive_size_helper.dart
  • Performance: Optimized scale factor calculations
  • Documentation: Enhanced README with comprehensive examples and best practices

Improved #

  • Better code organization and maintainability
  • Reduced code duplication through helper methods
  • Enhanced type safety with proper validation

1.0.5 #

  • Fix import path errors related to package name mismatch.
  • Update package name in pubspec.yaml to responsive_size_helper_plus.
  • Resolve deprecated_member_use lint warning for withOpacity.
  • Correct file naming from responsive_size_helper to responsive_size_helper_plus.

1.0.0 #

  • Initial stable release 🎉
  • Added core responsive size conversion functionality
  • Added extension methods for width and height conversion
  • Added comprehensive documentation and examples
  • Added support for all Flutter platforms
  • Added type safety and null safety support
  • Added unit tests and example project
  • Optimized performance for production use

0.0.1-dev #

  • Initial development release with basic functionality
4
likes
160
points
138
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for creating responsive layouts by converting Figma dimensions to device-specific sizes across all platforms.

Repository (GitHub)
View/report issues

Topics

#responsive #ui #layout #design #figma

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter

More

Packages that depend on responsive_size_helper_plus