Skip to content

Instantly share code, notes, and snippets.

@Piinks
Created March 24, 2026 16:57
Show Gist options
  • Select an option

  • Save Piinks/404224b85625ddba82157e0b3f63c08c to your computer and use it in GitHub Desktop.

Select an option

Save Piinks/404224b85625ddba82157e0b3f63c08c to your computer and use it in GitHub Desktop.
Disable Material splash through theme
// Disabling Material splash effects globally
ThemeData(
useMaterial3: true,
// This removes the ink ripple effect
splashFactory: NoSplash.splashFactory,
// This removes the highlight effect (the solid color change on press)
highlightColor: Colors.transparent,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment