Created
March 24, 2026 16:57
-
-
Save Piinks/404224b85625ddba82157e0b3f63c08c to your computer and use it in GitHub Desktop.
Disable Material splash through theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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