@Statevar count=0;Button.Text("inc") .Click(()=>{ this.count++) });Text.Text('${this.count}')
@State
var count=0;
Button.Text("inc")
.Click(()=>{
this.count++)
});
Text.Text('${this.count}')