Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 792 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 792 Bytes

Ripple_Touch

Add a ripple touch effect when tap the screen

Installation

Add ripple_touch in your pubspec.yaml dependencies. And import it:

import 'package:ripple_touch/RippleManager.dart';

How to use

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.

Demo

-

If something is missing, feel free to open a ticket or contribute!