How to change the textStyle of Stepper in Flutter?

Viewed 201

I have a Stepper and I am trying to change the color and textStyle inside the Step (yellow circle) widget (i.e: 1,2,3) from white to black. This is my code:

Theme(
              data: ThemeData(
                primaryColor: kGold,
                canvasColor: kDarkBlue,
              ),
              child: new Stepper(
                steps: spr,
                type: StepperType.horizontal,
                currentStep: _currentstep,
                onStepTapped: _showcontent,
              )),

This is the output: enter image description here

2 Answers

You will have to change the textStyle from spr

Related