flatbutton disable highlight 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
})