Sitelet https://github.com/flutter/flutter/issues/287
Skip to content

Disabling a button is non-obvious #287

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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