swipee

Creator: coderz1093

Last updated:

0 purchases

swipee Image
swipee Images

Languages

Categories

Add to Cart

Description:

swipee

swipee #


Customizable Swipe Button for flutter
Screenshots #

How to use #
dependencies:
swipee: <latest_version>
copied to clipboard
import 'package:swipee/swipee.dart';

copied to clipboard
// basic usage
Swipee(
label: "Swipe Me",
onSwipe: () {
EasyLoading.showSuccess('Swiped!');
}),

// customize track and button
Swipee(
trackWidth: 250,
trackHeight: 30,
buttonWidth: 80,
buttonHeight: 50,
color: Colors.red,
trackColor: Colors.amber,
onSwipe: () {
EasyLoading.showSuccess('Swiped!');
},
trackChild: const Text('> > > > >', style: TextStyle(fontSize: 20)),
child: const Icon(Icons.arrow_forward),
)

// vertical swipe
Swipee(
axis: Axis.vertical,
width: 50,
height: 100,
trackWidth: 30,
trackHeight: 60,
buttonWidth: 40,
buttonHeight: 40,
radius: 0,
label: "GO!",
color: Colors.blue,
trackColor: Colors.indigo[100],
onSwipe: () {
EasyLoading.showSuccess('Swiped!');
},
)


copied to clipboard
TODOs #

Material UI
Unit Testing
RTL and TTB swiping
More customisation options

Buy me a Coffee #
ETH: alexay.eth

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.