progress-state-button icon indicating copy to clipboard operation
progress-state-button copied to clipboard

can't see the progressButton itself

Open Gobmichet opened this issue 3 years ago • 0 comments

Hi,

Trying very first button and i just can't see it ! if i change the color of the icon, i see it but still can't see the progressbutton itself...

Any idea please ?

      ButtonState.idle:
        IconedButton(
            text: "Send",
            icon: Icon(Icons.send,color: Colors.white),
            color: Colors.deepPurple.shade500),
      ButtonState.loading:
        IconedButton(
            text: "Loading",
            color: Colors.deepPurple.shade700),
      ButtonState.fail:
        IconedButton(
            text: "Failed",
            icon: Icon(Icons.cancel,color: Colors.white),
            color: Colors.red.shade300),
      ButtonState.success:
        IconedButton(
            text: "Success",
            icon: Icon(Icons.check_circle,color: Colors.white,),
            color: Colors.green.shade400)
    }, 
    onPressed: onPressed,
    state: ButtonState.idle);```

in the capture.pngg :
"Accepter" and "Refuser" buttons are classic Textbuttons
And the blue arrow below is the icon of the progressButton is idle state but can't see anything else, neither the button neither the text.
Plz help
![Capture](https://user-images.githubusercontent.com/3100468/190088542-012bc5fe-f0cb-4721-8421-6aa60e97e9a5.PNG)

Gobmichet avatar Sep 14 '22 07:09 Gobmichet