Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- onTap: () {
- if (_animationController.isCompleted) {
- _animationController.reverse();
- } else {
- _animationController.forward();
- }
- widget.value == false
- ? widget.onChanged(true)
- : widget.onChanged(false);
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement