Skip to content

Commit

Permalink
small fix related to fontsize in checkbox, switch
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNoumanDev committed Sep 23, 2024
1 parent cc53dec commit a4f4c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ensemble/lib/widget/helpers/form_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ abstract class FormFieldWidgetState<W extends HasController>
if (widget.controller is FormFieldController) {
final formController = (widget.controller as FormFieldController);
return textStyle.copyWith(
fontSize: formController.fontSize?.toDouble(),
fontSize: formController.labelStyle?.fontSize,
overflow: formController.labelStyle?.overflow ?? TextOverflow.ellipsis,
color: formController.labelStyle?.color,
fontWeight: formController.labelStyle?.fontWeight,
Expand Down

0 comments on commit a4f4c8d

Please sign in to comment.