Unverified Commit 8636e333 authored by Mateus Felipe C. C. Pinto's avatar Mateus Felipe C. C. Pinto Committed by GitHub

[Documentation] Add ActionChip in disabled state (#123143)

[Documentation] Add ActionChip in disabled state
parent 4831dd99
...@@ -112,7 +112,8 @@ class ChipTheme extends InheritedTheme { ...@@ -112,7 +112,8 @@ class ChipTheme extends InheritedTheme {
/// Typically this is a [Text] widget. /// Typically this is a [Text] widget.
/// * The "delete icon", which is a widget that appears at the end of the chip. /// * The "delete icon", which is a widget that appears at the end of the chip.
/// * The chip is disabled when it is not accepting user input. Only some chips /// * The chip is disabled when it is not accepting user input. Only some chips
/// have a disabled state: [InputChip], [ChoiceChip], and [FilterChip]. /// have a disabled state: [ActionChip], [ChoiceChip], [FilterChip], and
/// [InputChip].
/// ///
/// The simplest way to create a ChipThemeData is to use [copyWith] on the one /// The simplest way to create a ChipThemeData is to use [copyWith] on the one
/// you get from [ChipTheme.of], or create an entirely new one with /// you get from [ChipTheme.of], or create an entirely new one with
...@@ -283,8 +284,8 @@ class ChipThemeData with Diagnosticable { ...@@ -283,8 +284,8 @@ class ChipThemeData with Diagnosticable {
/// [DisabledChipAttributes.disabledColor], the background color /// [DisabledChipAttributes.disabledColor], the background color
/// which indicates that the chip is not enabled. /// which indicates that the chip is not enabled.
/// ///
/// This property applies to [ChoiceChip], [FilterChip], /// This property applies to [ActionChip], [ChoiceChip],
/// [InputChip], [RawChip]. /// [FilterChip], [InputChip], and [RawChip].
final Color? disabledColor; final Color? disabledColor;
/// Overrides the default for /// Overrides the default for
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment