splashFactory property

set splashFactory (InteractiveInkFeatureFactory splashFactory)

Implementation

set splashFactory(InteractiveInkFeatureFactory splashFactory) {
  if (_latest is Theme) {
    final theme =
        (_latest as Theme).data.copyWith(splashFactory: splashFactory);

    _replace(
      (w) => Theme(
        child: w,
        data: theme,
      ),
    );
  } else
    _add(
      (w) => Theme(
        child: w,
        data: ThemeData(splashFactory: splashFactory),
      ),
    );
}