Issue by ianloic
Monday Nov 09, 2015 at 20:35 GMT
Originally opened as https://github.com/flutter/engine/issues/2017
It's not obvious from the API or docs that the way to disable a button is to pass a null onPressed. In retrospect it's kinds of obvious, but I ended up reading the source to work it out.