diff --git a/packages/flutter_form_bloc/lib/src/switch_field_bloc_builder.dart b/packages/flutter_form_bloc/lib/src/switch_field_bloc_builder.dart index 37a3880b..7738e03e 100644 --- a/packages/flutter_form_bloc/lib/src/switch_field_bloc_builder.dart +++ b/packages/flutter_form_bloc/lib/src/switch_field_bloc_builder.dart @@ -196,7 +196,7 @@ class SwitchFieldBlocBuilder extends StatelessWidget { BuildContext context, BooleanFieldBlocState state, ) { - return Switch( + return Switch.adaptive( value: state.value, onChanged: fieldBlocBuilderOnChange( isEnabled: isEnabled,