@freethomasv instead of this line:
//and for the buttons as well
Have something like:
if(states?.button1){
//do whatever you want
}
if(states?.button2){
//do whatever you want
}
@freethomasv instead of this line:
//and for the buttons as well
Have something like:
if(states?.button1){
//do whatever you want
}
if(states?.button2){
//do whatever you want
}