how i can control two dimmer (pwm) value with one push button.

how i can control two dimmer (pwm) value with one push button.
toggle value is
first value = 255 = led on
second value = 0 = led off

if (button_state== 1) { pwmValue = 255; analogWrite(pwmPin, pwmValue)}
   if (button_state== 0) {pwmValue = 0;  analogWrite(pwmPin, pwmValue)}

i am new in arduino. please let me know how i can control.

please post a complete sketch. The snippet you posted certainly set the PWM value to two different values. It is not clear what you are asking...

int inPin = 2;         // the number of the input pin
int outPin = 9;       // the number of the output pin

int state = HIGH;      // the current state of the output pin
int reading;           // the current reading from the input pin
int previous = LOW;    // the previous reading from the input pin

long time = 0;         // the last time the output pin was toggled
long debounce = 200;   // the debounce time, increase if the output flickers

void setup()
{
  pinMode(inPin, INPUT);
  pinMode(outPin, OUTPUT);
}

void loop()
{
  reading = digitalRead(inPin);

  if (reading == HIGH && previous == LOW && millis() - time > debounce) {
    if (state == HIGH)
      state = LOW;
    else
      state = HIGH;

    time = millis();    
  }

  digitalWrite(outPin, state);

  previous = reading;
}


my need state value equal = (  pwm value 255 or 0 } 

Toggle button value
when state value equal == 255  (  analogWrite(outPin, state);) //outPin on (button First click)
when state value equal == 0  (  analogWrite(outPin, state);) //outPin off (button Second click)

https://www.arduino.cc/en/tutorial/switch

 [code]

Why do you need analogWrite() when all you ever write is 0 or 255? That is the same as digitialWrite() with HIGH/LOW.