From 4ab836509061665cd6c2e07fd35691e997e11962 Mon Sep 17 00:00:00 2001 From: Shahir Date: Thu, 21 Oct 2021 02:39:35 +0530 Subject: [PATCH] Added textStyle to labels also. The labelTextStyle is applied only to label heading and not to the real r,g,b values. Now the labels are given provided labelTextStyle. --- lib/src/hsv_picker.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/hsv_picker.dart b/lib/src/hsv_picker.dart index 96a71f9..36b61c5 100644 --- a/lib/src/hsv_picker.dart +++ b/lib/src/hsv_picker.dart @@ -432,6 +432,8 @@ class _ColorPickerLabelState extends State { colorValue(widget.hsvColor, _colorType)[ _colorTypes[_colorType]!.indexOf(item)], overflow: TextOverflow.ellipsis, + style: widget.textStyle ?? + Theme.of(context).textTheme.bodyText2, ), ), ],