Create simple swipe button to do something.
Installation Add to pubspec.yaml: swipe_to_achieve:
import: "import package:swipe_to_achieve/swipe_to_achieve.dart"
Add to your code: SwipeToAchieve( width: 150.0, title: 'Swipe to achievement', textStyle: const TextStyle( fontSize: 15.0, fontWeight: FontWeight.bold, ), achievedBackgroundColor: Colors.amber, startBackgroundColor: Colors.cyan, startCircleColor: Colors.redAccent, circleRadius: 100.0, achievedCircleColor: Colors.greenAccent, onWhenEnd: (v) => print('Uzbekistan'), ),
onWhenReverse is optional.