splash
1.2.0, released 2 years ago by uekoetter.dev
Provides custom InkSplash and InkRipple alternatives for button press effects.
WASM-ready
What it does
The package offers several drop‑in splash factories that replace the default Material splash animations. It includes WaveSplash, PathSplash, LineSplash and a NoSplash option, each configurable via static factories.
AI-written summary of version 1.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a different visual feedback for button presses than the default InkSplash/InkRipple.
- You need a quick way to customize splash appearance without writing your own painter.
Skip it when
- You don't need custom splash effects and prefer the built‑in Material behavior.
- You require a full UI kit or theming solution beyond splash effects.
Strengths
- Easy to integrate via splashFactory property
- Multiple ready‑made splash styles
- Works on all Flutter platforms
Weaknesses
- Limited to splash effects only
- Few configuration options compared to building a custom splash
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:splash/splash.dart';
final splashFactory = WaveSplash.splashFactory;
MaterialApp(
theme: ThemeData(splashFactory: splashFactory),
home: Scaffold(),
);