swipeable_button 0.2.0
swipeable_button: ^0.2.0 copied to clipboard
A customizable button widget that can be triggered by swiping.
0.2.0 #
- Added class
SwipeableButtonSimpleSlidableThumb
which is used for theSwipeableButton.simpleSlidable
named constructor. - Docs: Fixed documentation and example.
0.1.1 #
- Added class
SwipeableButtonSimpleThumb
which is used for theSwipeableButton.simple
named constructor. - Docs: Fixed documentation and example.
0.1.0 #
-
The previous
SwipeableButton
can now be built via the named constructorSwipeableButton.simple
-
The default
SwipeableButton
constructor now takes athumbBuilder
function instead of athumbColor
parameter, so the thumb widget can be fully customized
0.0.1 #
Initial version
-
The button can be triggered either one time only or infinite times.
-
The label shown on the button can be any widget.
-
The button's border radius, the button color and the thumb's color can be customized.
-
Height and minimum thumb width can be specified.