flutter flat button disable feedback code example
Example: flutter prevent flat button from lighting up
new FlatButton({
...
splashColor: Colors.transparent,
highlightColor: Colors.transparent, // makes highlight invisible too
})
new FlatButton({
...
splashColor: Colors.transparent,
highlightColor: Colors.transparent, // makes highlight invisible too
})