splashFactory property
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: WidgetStateProperty.resolveWith<Color?>(
(Set<WidgetState> states) {
return states.contains(WidgetState.focused) ? null : Colors.transparent;
},
),
tabs: const <Widget>[
// ...
],
)
Implementation
final InteractiveInkFeatureFactory? splashFactory;