splash 0.1.0
splash: ^0.1.0 copied to clipboard
This package contains a few InkSplash alternatives
Splash #
This package contains a few alternatives for InkSplash.splashFactory and InkRipple.splashFactory.
You can find an extensive example here.
How do I use them? #
final splashFactory = ...
MaterialApp(
theme: Theme(
splashFactory: splashFactory,
),
home: Scaffold(),
);
List of available splash alternatives #
Name | Usage | Use case |
---|---|---|
NoSplash | NoSplash.splashFactory |
You can use this class if you don't want a ripple splash effect |
LineSplash | LineSplash.splashFactory Optionally you can provide a paint to customize its appearance. |
Draws a line instead of circle |
PathSplash | PathSplash.splashFactory(path) Optionally you can provide a paint to customize its appearance. |
Animates a path |