responsive_mixin_layout 1.6.4
responsive_mixin_layout: ^1.6.4 copied to clipboard
A Flutter package for creating responsive layouts across different screen sizes.
Changelog #
All notable changes to this project will be documented in this file.
1.0.0 #
- Initial release of the package.
- Added the
ResponsiveLayout
widget to create responsive layouts in Flutter. - Provides custom widgets for mobile devices, tablets, desktops, and TVs.
- Allows customization of the application's appearance based on the device's screen size.
1.0.1 #
- Changed
ScreenSize
class name toScreenSizes
. - Updated extension on context to have getters.
1.0.2 #
- Changed
ResponsiveLayoutMixin
mixin name toResponsiveMixinLayout
.
1.0.3 #
- Updated Flutter SDK.
- Updated README.
1.1.0 #
- Added
ScreenWidth
andScreenHeight
classes to record sizes and methods.
1.2.0 #
- Added
basedOnLayout
bool onResponsiveLayout
to switch between getting screen size from screen size or layout box constraints.
1.3.0 #
- Added
xdesktop
field intoScreenSizes
.
1.4.0 #
- Added
screenWidth
andscreenHeight
fields intoBuildContext
extension.
1.5.0 #
Added #
RenderBoxBuilder
: A widget that provides access to theRenderBox
of its child widget and triggers a callback.BoxSizeListener
: A widget that listens for size changes of its child widget and triggers a callback.ScreenSizeListener
: A widget that listens for screen size changes and triggers a callback.TextScalerBuilder
: A widget that provides a custom text scaling factor based on the screen size.DoubleExtension
: An extension for thedouble
class that provides additional utility methods, includingclampInverted
andclampMapRanged
.
Changed #
- Improved documentation and examples in the README file.
- Updated the
ResponsiveLayout
andResponsiveMixinLayout
widgets to enhance flexibility and usability.
Fixed #
- Minor bug fixes and performance improvements.
1.6.0 #
Added #
- New widgets
RenderRandomInt
,RenderRandomDouble
, andRenderRandomBool
to generate random values. - Detailed comments in English for the new widgets.
- Usage examples in the README file.
1.6.1 #
- Updated README.
1.6.2 #
- Fixed [RenderRandomValue] widgets import.
1.6.3 #
-
Added [basedOnLayout] bool getter into [ResponsiveMixinLayout] and [ResponsiveMixinLayoutStateful] mixins.
-
Added [xmobile] field to use in all ResponsiveLayout methods
1.6.4 #
- Fix scaler parameters from [TextScalerBuilder].