before_after 3.2.0
before_after: ^3.2.0 copied to clipboard
A flutter package which makes it easier to display the difference between two images.
3.2.0 #
- Increased the minimum Flutter version required to
3.22.0.
3.1.0 #
- Migrated deprecated
MaterialStatePropertytoWidgetStateProperty. - Fixed
widget.thumbColornot working. #34
3.0.0+1 #
- Add live demo link to README.
3.0.0 #
🚨 Breaking
Changes in the BeforeAfter widget:
- Added support for different slider
directions. The new direction property allows you to specify whether the slider can be draggedhorizontallyorvertically. - Renamed the
beforeImageandafterImageproperties tobeforeandafter, respectively, for better clarity. - Added the
heightandwidthproperties to control the size of the BeforeAfter widget. - Added the
trackWidthproperty to customize the width of the slider track. - Added the
trackColorproperty to set the color of the slider track. - Added the
hideThumbproperty to hide the slider thumb if needed. - Added the
thumbHeightandthumbWidthproperties to specify the size of the slider thumb. - Renamed the
thumbColorproperty tothumbDecorationto allow more flexible customization using BoxDecoration. - Added the
overlayColorproperty to set the color of the overlay when the thumb is interacted. - Added the
divisionsproperty to specify the number of discrete divisions on the slider. - Added the
onValueChangedcallback to handle changes in the slider value. - Added the
thumbPositionproperty to set the initial position of the slider thumb. - Added the
thumbDivisionsproperty to specify the number of discrete divisions on the slider thumb. - Added the
onThumbPositionChangedcallback to handle changes in the thumb position. - Added support for custom mouse cursors using the
mouseCursorproperty. - Added support for focus and autofocus using the
focusNodeandautofocusproperties.
New features:
- Added the
BeforeAfterThemeclass to provide default theme values for the BeforeAfter widget.
2.1.0 #
- Added fix for Flutter 1.19.
2.0.1 #
- Minor fixes.
2.0.0 #
- Added support for vertical sliders.
1.0.1 #
- Update Readme.
1.0.0 #
- Initial Release.
