responsive_spacing_v2 1.2.3
responsive_spacing_v2: ^1.2.3 copied to clipboard
A simple Flutter package to add responsive padding and margin widgets for consistent, adaptive spacing across different screen sizes.
[1.2.0] - 2025-05-27 #
Added #
- ResponsiveSpacingProvider: Provides a global spacing scale based on a base unit and scaling factor.
- ResponsiveSpacer: A widget to insert vertical or horizontal space using a responsive scale (
xs
,sm
,md
,lg
,xl
). context.spacing
: Extension onBuildContext
to access spacing values dynamically.
[1.1.2] - 2024-11-04 #
Initial Release #
- Released the Responsive Spacing package with the following features:
- ResponsivePadding: A widget that automatically adjusts padding around a child widget based on the screen size.
- Introduced
smallScreenPadding
andlargeScreenPadding
properties for easy customization.
- Introduced
- ResponsiveMargin: A widget that automatically adjusts margin around a child widget based on the screen size.
- Introduced
smallScreenMargin
andlargeScreenMargin
properties for flexible spacing control.
- Introduced
- ResponsivePadding: A widget that automatically adjusts padding around a child widget based on the screen size.