splash 1.0.0 copy "splash: ^1.0.0" to clipboard
splash: ^1.0.0 copied to clipboard

outdated

This package contains a few InkSplash and InkRipple alternatives for a better UI

Splash

pub-web.flutter-io.cn GitHub Workflow Status Sponsoring likes popularity pub points


This package contains a few alternatives for InkSplash.splashFactory and InkRipple.splashFactory. In other words this are custom button pressed effects.

List of available alternatives #

Example Usage
Wave Splash WaveSplash.splashFactory, WaveSplash.customSplashFactory(strokeWidth: 30, blurStrength: 5)
Path Splash PathSplash.splashFactory(path), PathSplash.splashFactory(path, paint: paint, clip: false)
Line Splash LineSplash.splashFactory, LineSplash.customSplashFactory(paint: paint)
No Splash NoSplash.splashFactory

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

How do I use them? #

import 'package:splash/splash.dart';

final splashFactory = ...

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

New features and ideas #

I would really appreciate pull request with new splash factories or good looking examples in the example app. You can do it here.

Author #

Sponsoring #

I'm working on my packages on my free-time, but I don't have as much time as I would. If this package or any other package I created is helping you, please consider to sponsor me. By doing so, I will prioritize your issues or your pull-requests before the others.

66
likes
0
pub points
80%
popularity

Publisher

verified publisheruekoetter.dev

This package contains a few InkSplash and InkRipple alternatives for a better UI

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on splash