Update documentation about accent color (#116778)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user