You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support for different slider directions. The new direction property allows you to specify whether the slider
can be dragged horizontally or vertically.
Renamed the beforeImage and afterImage properties to before and after, respectively, for better clarity.
Added the height and width properties to control the size of the BeforeAfter widget.
Added the trackWidth property to customize the width of the slider track.
Added the trackColor property to set the color of the slider track.
Added the hideThumb property to hide the slider thumb if needed.
Added the thumbHeight and thumbWidth properties to specify the size of the slider thumb.
Renamed the thumbColor property to thumbDecoration to allow more flexible customization using BoxDecoration.
Added the overlayColor property to set the color of the overlay when the thumb is interacted.
Added the divisions property to specify the number of discrete divisions on the slider.
Added the onValueChanged callback to handle changes in the slider value.
Added the thumbPosition property to set the initial position of the slider thumb.
Added the thumbDivisions property to specify the number of discrete divisions on the slider thumb.
Added the onThumbPositionChanged callback to handle changes in the thumb position.
Added support for custom mouse cursors using the mouseCursor property.
Added support for focus and autofocus using the focusNode and autofocus properties.
New features:
Added the BeforeAfterTheme class to provide default theme values for the BeforeAfter widget.
This discussion was created from the release v3.0.0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
🚨 Breaking
Changes in the
BeforeAfter
widget:directions
. The new direction property allows you to specify whether the slidercan be dragged
horizontally
orvertically
.beforeImage
andafterImage
properties tobefore
andafter
, respectively, for better clarity.height
andwidth
properties to control the size of the BeforeAfter widget.trackWidth
property to customize the width of the slider track.trackColor
property to set the color of the slider track.hideThumb
property to hide the slider thumb if needed.thumbHeight
andthumbWidth
properties to specify the size of the slider thumb.thumbColor
property tothumbDecoration
to allow more flexible customization using BoxDecoration.overlayColor
property to set the color of the overlay when the thumb is interacted.divisions
property to specify the number of discrete divisions on the slider.onValueChanged
callback to handle changes in the slider value.thumbPosition
property to set the initial position of the slider thumb.thumbDivisions
property to specify the number of discrete divisions on the slider thumb.onThumbPositionChanged
callback to handle changes in the thumb position.mouseCursor
property.focusNode
andautofocus
properties.New features:
BeforeAfterTheme
class to provide default theme values for the BeforeAfter widget.This discussion was created from the release v3.0.0.
Beta Was this translation helpful? Give feedback.
All reactions