07-21-2023, 10:04 PM
To remove splash
Make backgroundColor same foregroundColor
style: TextButton.styleFrom(
backgroundColor: Colors.green, // Button color
foregroundColor: Colors.green, // Splash color
),
Make backgroundColor same foregroundColor
style: TextButton.styleFrom(
backgroundColor: Colors.green, // Button color
foregroundColor: Colors.green, // Splash color
),