cahnge colors with numeric stepper

This commit is contained in:
2025-07-15 13:42:33 +02:00
parent 3535de560d
commit 3f0ed5d7ae

View File

@@ -111,7 +111,7 @@ class _MihNumericStepperState extends State<MihNumericStepper> {
backgroundColor: WidgetStateProperty.all<Color>( backgroundColor: WidgetStateProperty.all<Color>(
MzansiInnovationHub.of(context)! MzansiInnovationHub.of(context)!
.theme .theme
.successColor()), .errorColor()),
), ),
color: widget.inputColor, color: widget.inputColor,
iconSize: 20, iconSize: 20,
@@ -192,7 +192,10 @@ class _MihNumericStepperState extends State<MihNumericStepper> {
width: 40, width: 40,
child: IconButton.filled( child: IconButton.filled(
style: ButtonStyle( style: ButtonStyle(
backgroundColor: WidgetStateProperty.all<Color>(), backgroundColor: WidgetStateProperty.all<Color>(
MzansiInnovationHub.of(context)!
.theme
.successColor()),
), ),
color: widget.inputColor, color: widget.inputColor,
iconSize: 20, iconSize: 20,