Skip to content

Commit

Permalink
Update documentation about accent color (flutter#116778)
Browse files Browse the repository at this point in the history
  • Loading branch information
guidezpl committed Jan 16, 2023
1 parent 1220245 commit 7188c3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/material/checkbox_list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/material/radio_list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/material/switch_list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7188c3e

Please sign in to comment.