progress-state-button
progress-state-button copied to clipboard
can't see the progressButton itself
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
