Add a ripple touch effect when tap the screen
Add ripple_touch
in your pubspec.yaml
dependencies. And import it:
import 'package:ripple_touch/RippleManager.dart';
Initialize the overlay as soon as you want (preferably at the application start).
// Initialize
@override
void initState() {
super.initState();
Future.delayed(Duration.zero).then((value) => RippleManager().init(context));
}
// Destroy the thing
RippleManager().dispose();
For a more detail example please take a look at the example
folder.
If something is missing, feel free to open a ticket or contribute!