Splash

Pub GitHub Workflow Status

This package contains a few alternatives for InkSplash.splashFactory and InkRipple.splashFactory.

List of available splash alternatives

ExampleUsage
No SplashNoSplash.splashFactory
Line SplashLineSplash.splashFactory, LineSplash.customSplashFactory(paint: paint)
Path SplashPathSplash.splashFactory(path), PathSplash.splashFactory(path, paint: paint, clip: false)
Wave SplashWaveSplash.splashFactory, WaveSplash.customSplashFactory(strokeWidth: 30, blurStrength: 5)

You can find an extensive example here. It shows simple usages and some more custom usages.

How do I use them?

import 'package:splash/splash.dart';

final splashFactory = ...

MaterialApp(
  theme: Theme(
    splashFactory: splashFactory,
  ),
  home: Scaffold(), 
);

Libraries

splash