Skip to content

Glossary: Flutter

disabled

Also written: onPressed: null

A button that is gray and ignores taps because its `onPressed` is `null`. The Place order button is disabled when the cart is empty or an order is being sent.

Where the book teaches it

Related terms

onPressed