Im trying to dispatch actions based in events, i couldn't find any way to achieve that with out returning a widget. here is the default way of doing it
StoreConnector<MyAppState,ActionFunc>(
converter:(store) => () => store.dispatch(myaction),
builder:(ctx,callback){
return Center(child:
RaisedButton(
onPressed:(){callback();}
child:,Text("Action !")
));
});