From a4f4c8da9ce1a83fc5aee39ba86f8b503e02d191 Mon Sep 17 00:00:00 2001 From: TheNoumanDev Date: Mon, 23 Sep 2024 18:01:14 +0500 Subject: [PATCH] small fix related to fontsize in checkbox, switch --- modules/ensemble/lib/widget/helpers/form_helper.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ensemble/lib/widget/helpers/form_helper.dart b/modules/ensemble/lib/widget/helpers/form_helper.dart index 742a41134..83180656e 100644 --- a/modules/ensemble/lib/widget/helpers/form_helper.dart +++ b/modules/ensemble/lib/widget/helpers/form_helper.dart @@ -292,7 +292,7 @@ abstract class FormFieldWidgetState 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,