Unverified Commit 7188c3e6 authored by Pierre-Louis's avatar Pierre-Louis Committed by GitHub

Update documentation about accent color (#116778)

parent 1220245b
...@@ -219,7 +219,7 @@ class CheckboxListTile extends StatelessWidget { ...@@ -219,7 +219,7 @@ class CheckboxListTile extends StatelessWidget {
/// The color to use when this checkbox is checked. /// The color to use when this checkbox is checked.
/// ///
/// Defaults to accent color of the current [Theme]. /// Defaults to [ColorScheme.secondary] of the current [Theme].
final Color? activeColor; final Color? activeColor;
/// The color to use for the check icon when this checkbox is checked. /// The color to use for the check icon when this checkbox is checked.
......
...@@ -245,7 +245,7 @@ class RadioListTile<T> extends StatelessWidget { ...@@ -245,7 +245,7 @@ class RadioListTile<T> extends StatelessWidget {
/// The color to use when this radio button is selected. /// The color to use when this radio button is selected.
/// ///
/// Defaults to accent color of the current [Theme]. /// Defaults to [ColorScheme.secondary] of the current [Theme].
final Color? activeColor; final Color? activeColor;
/// The primary content of the list tile. /// The primary content of the list tile.
......
...@@ -266,7 +266,7 @@ class SwitchListTile extends StatelessWidget { ...@@ -266,7 +266,7 @@ class SwitchListTile extends StatelessWidget {
/// The color to use when this switch is on. /// The color to use when this switch is on.
/// ///
/// Defaults to accent color of the current [Theme]. /// Defaults to [ColorScheme.secondary] of the current [Theme].
final Color? activeColor; final Color? activeColor;
/// The color to use on the track when this switch is on. /// The color to use on the track when this switch is on.
......
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