Closed ryanheitner closed 1 year ago
Is your feature request related to a problem? Please describe. I would like a custom font that changes color on active and inactive.
Describe the solution you'd like textStyle = widget.customTextStyles!.length == 1 ? widget.customTextStyles![0]! : (widget.customTextStyles!.length > index ~/ 2 && widget.customTextStyles![index ~/ 2] != null ? widget.customTextStyles![index ~/ 2]! : defaultTextStyle);
change requested: if (active && activeFgColor != null) { textStyle = textStyle.copyWith(color: activeFgColor); } else if (!active && inactiveFgColor != null) { textStyle = textStyle.copyWith(color: inactiveFgColor); }
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
Same request - very important thing as for me.
Available in toggle_switch: ^2.1.0 . Cheers!
toggle_switch: ^2.1.0
Is your feature request related to a problem? Please describe. I would like a custom font that changes color on active and inactive.
Describe the solution you'd like textStyle = widget.customTextStyles!.length == 1 ? widget.customTextStyles![0]! : (widget.customTextStyles!.length > index ~/ 2 && widget.customTextStyles![index ~/ 2] != null ? widget.customTextStyles![index ~/ 2]! : defaultTextStyle);
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.