Skip to content

Commit 663e39d

Browse files
Merge branch 'main' into main
2 parents 42b5566 + 57cc1c8 commit 663e39d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/src/fields/form_builder_switch.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ class FormBuilderSwitch extends FormBuilderField<bool> {
2121

2222
/// The color to use when this switch is on.
2323
///
24-
/// Defaults to [ThemeData.toggleableActiveColor].
24+
/// Defaults to [ColorScheme.secondary].
2525
final Color? activeColor;
2626

2727
/// The color to use on the track when this switch is on.
2828
///
29-
/// Defaults to [ThemeData.toggleableActiveColor] with the opacity set at 50%.
29+
/// Defaults to [ColorScheme.secondary] with the opacity set at 50%.
3030
///
3131
/// Ignored if this switch is created with [Switch.adaptive].
3232
final Color? activeTrackColor;

lib/src/widgets/grouped_checkbox.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class GroupedCheckbox<T> extends StatelessWidget {
2222

2323
/// The color to use when this checkbox is checked.
2424
///
25-
/// Defaults to [ThemeData.toggleableActiveColor].
25+
/// Defaults to [ColorScheme.secondary].
2626
final Color? activeColor;
2727

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

lib/src/widgets/grouped_radio.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class GroupedRadio<T> extends StatefulWidget {
2222

2323
/// The color to use when this checkbox is checked.
2424
///
25-
/// Defaults to [ThemeData.toggleableActiveColor].
25+
/// Defaults to [ColorScheme.secondary].
2626
final Color? activeColor;
2727

2828
/// Configures the minimum size of the tap target.

0 commit comments

Comments
 (0)