splashFactory property Null safety

InteractiveInkFeatureFactory? splashFactory
final

Creates the InkWell splash factory, which defines the appearance of "ink" splashes that occur in response to taps.

Use NoSplash.splashFactory to defeat ink splash rendering. For example:

ElevatedButton(
  style: ElevatedButton.styleFrom(
    splashFactory: NoSplash.splashFactory,
  ),
  onPressed: () { },
  child: const Text('No Splash'),
)

Implementation

final InteractiveInkFeatureFactory? splashFactory;