public AboutUsScreen( AboutUsScreenActionModel actionModel = null, Key key = null ) : base(key: key) { this.actionModel = actionModel; }
public override Widget build(BuildContext context) { return(new StoreConnector <AppState, object>( converter: state => null, builder: (context1, viewModel, dispatcher) => { var actionModel = new AboutUsScreenActionModel { mainRouterPop = () => dispatcher.dispatch(new MainNavigatorPopAction()) }; return new AboutUsScreen(actionModel); } )); }
public override Widget build(BuildContext context) { return(new StoreConnector <AppState, object>( converter: state => null, builder: (context1, viewModel, dispatcher) => { var actionModel = new AboutUsScreenActionModel { mainRouterPop = () => dispatcher.dispatch(new MainNavigatorPopAction()), toOriginCode = () => dispatcher.dispatch(new OpenUrlAction { url = Config.originCodeUrl }), toWidgetOriginCode = () => dispatcher.dispatch(new OpenUrlAction { url = Config.widgetOriginCodeUrl }) }; return new AboutUsScreen(actionModel: actionModel); } )); }