Skip to content

Disabling a button is non-obvious #287

@FlutterIssues

Description

@FlutterIssues

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions