power_switch_button 0.0.4
power_switch_button: ^0.0.4 copied to clipboard
PowerSwitchButton is a customizable Flutter switch widget with adjustable size, stroke width, dash width, and dash space for a stylish toggle switch.
0.0.4 Aug 5, 2024 #
- customIcon: An optional custom icon to display in the switch.
- label: An optional label text to display inside the switch.
- disabled: A boolean to disable the switch (default is false).
- onGradient: An optional gradient for the 'on' state.
- offGradient: An optional gradient for the 'off' state.
- shape: The shape of the switch button (default is Shape.CIRCLE).
- borderRadius: The border radius for the square shape (optional).
- animationDuration: The duration of the toggle animation (default is 300ms).
- animationCurve: The curve of the toggle animation (default is Curves.easeInOut).
0.0.3 Aug 2, 2024 #
- Optimise code
0.0.2 Aug 2, 2024 #
- Added icon color change option as well.
0.0.1 Aug 1, 2024 #
- Release of version one of power switch button library.