Update documentation about accent color (#116778)

This commit is contained in:
Pierre-Louis
2023-01-16 12:04:48 +01:00
committed by GitHub
parent 1220245b33
commit 7188c3e620
3 changed files with 3 additions and 3 deletions

View File

@@ -219,7 +219,7 @@ class CheckboxListTile extends StatelessWidget {
/// 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;
/// The color to use for the check icon when this checkbox is checked.

View File

@@ -245,7 +245,7 @@ class RadioListTile<T> extends StatelessWidget {
/// 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;
/// The primary content of the list tile.

View File

@@ -266,7 +266,7 @@ class SwitchListTile extends StatelessWidget {
/// 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;
/// The color to use on the track when this switch is on.