Skip to content

Commit 7188c3e

Browse files
authored
Update documentation about accent color (flutter#116778)
1 parent 1220245 commit 7188c3e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/flutter/lib/src/material/checkbox_list_tile.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class CheckboxListTile extends StatelessWidget {
219219

220220
/// The color to use when this checkbox is checked.
221221
///
222-
/// Defaults to accent color of the current [Theme].
222+
/// Defaults to [ColorScheme.secondary] of the current [Theme].
223223
final Color? activeColor;
224224

225225
/// The color to use for the check icon when this checkbox is checked.

packages/flutter/lib/src/material/radio_list_tile.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class RadioListTile<T> extends StatelessWidget {
245245

246246
/// The color to use when this radio button is selected.
247247
///
248-
/// Defaults to accent color of the current [Theme].
248+
/// Defaults to [ColorScheme.secondary] of the current [Theme].
249249
final Color? activeColor;
250250

251251
/// The primary content of the list tile.

packages/flutter/lib/src/material/switch_list_tile.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class SwitchListTile extends StatelessWidget {
266266

267267
/// The color to use when this switch is on.
268268
///
269-
/// Defaults to accent color of the current [Theme].
269+
/// Defaults to [ColorScheme.secondary] of the current [Theme].
270270
final Color? activeColor;
271271

272272
/// The color to use on the track when this switch is on.

0 commit comments

Comments
 (0)