From 278637748bf9088c660ef495804e56c557299d59 Mon Sep 17 00:00:00 2001 From: Darren Austin Date: Wed, 14 Sep 2022 14:22:07 -0700 Subject: [PATCH] Updated the Action chip's documentation regarding disabled states. (#111598) --- packages/flutter/lib/src/material/action_chip.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/material/action_chip.dart b/packages/flutter/lib/src/material/action_chip.dart index 0c91c97b19..c1eb3b647f 100644 --- a/packages/flutter/lib/src/material/action_chip.dart +++ b/packages/flutter/lib/src/material/action_chip.dart @@ -18,9 +18,10 @@ import 'theme_data.dart'; /// content. Action chips should appear dynamically and contextually in a UI. /// /// Action chips can be tapped to trigger an action or show progress and -/// confirmation. They cannot be disabled; if the action is not applicable, the -/// chip should not be included in the interface. (This contrasts with buttons, -/// where unavailable choices are usually represented as disabled controls.) +/// confirmation. For Material 3, a disabled state is supported for Action +/// chips and is specified with [onPressed] being null. For previous versions +/// of Material Design, it is recommended to remove the Action chip from the +/// the interface entirely rather than display a disabled chip. /// /// Action chips are displayed after primary content, such as below a card or /// persistently at the bottom of a screen.