mirror of
https://github.com/flutter/flutter.git
synced 2026-02-04 19:00:09 +08:00
We now use the `@required` annotation to encourage developers to explicitly set onPressed and onChanged callbacks to null when that would disable the widget. Fixes #287