splashFactory property Null safety

InteractiveInkFeatureFactory? splashFactory
final

Creates the tab bar's 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 to defeat both the splash and the hover/pressed overlay, but not the keyboard focused overlay:

TabBar(
  splashFactory: NoSplash.splashFactory,
  overlayColor: MaterialStateProperty.resolveWith<Color?>(
    (Set<MaterialState> states) {
      return states.contains(MaterialState.focused) ? null : Colors.transparent;
    },
  ),
  tabs: const <Widget>[
    // ...
  ],
)

Implementation

final InteractiveInkFeatureFactory? splashFactory;