diff --git a/lib/src/fields/form_builder_switch.dart b/lib/src/fields/form_builder_switch.dart index 6dd23691c6..e1e7ce1952 100644 --- a/lib/src/fields/form_builder_switch.dart +++ b/lib/src/fields/form_builder_switch.dart @@ -21,12 +21,12 @@ class FormBuilderSwitch extends FormBuilderField { /// The color to use when this switch is on. /// - /// Defaults to [ThemeData.toggleableActiveColor]. + /// Defaults to [ColorScheme.secondary]. final Color? activeColor; /// The color to use on the track when this switch is on. /// - /// Defaults to [ThemeData.toggleableActiveColor] with the opacity set at 50%. + /// Defaults to [ColorScheme.secondary] with the opacity set at 50%. /// /// Ignored if this switch is created with [Switch.adaptive]. final Color? activeTrackColor; diff --git a/lib/src/widgets/grouped_checkbox.dart b/lib/src/widgets/grouped_checkbox.dart index 657807df8a..b83aa1e223 100644 --- a/lib/src/widgets/grouped_checkbox.dart +++ b/lib/src/widgets/grouped_checkbox.dart @@ -22,7 +22,7 @@ class GroupedCheckbox extends StatelessWidget { /// The color to use when this checkbox is checked. /// - /// Defaults to [ThemeData.toggleableActiveColor]. + /// Defaults to [ColorScheme.secondary]. final Color? activeColor; /// The color to use for the check icon when this checkbox is checked. diff --git a/lib/src/widgets/grouped_radio.dart b/lib/src/widgets/grouped_radio.dart index 974450ad8b..16e0ab8b9e 100644 --- a/lib/src/widgets/grouped_radio.dart +++ b/lib/src/widgets/grouped_radio.dart @@ -22,7 +22,7 @@ class GroupedRadio extends StatefulWidget { /// The color to use when this checkbox is checked. /// - /// Defaults to [ThemeData.toggleableActiveColor]. + /// Defaults to [ColorScheme.secondary]. final Color? activeColor; /// Configures the minimum size of the tap target.