code: public MaterialStep getCurrentStep() {
          if (currentStepIndex > getWidgetCount() - 1 || currentStepIndex < 0) {
              return null;
          }
          Widget w = getWidget(currentStepIndex);
          if (w instanceof MaterialStep) {
              return (MaterialStep) w;
          }
          return null;
      }
docs: Gets the current step component.