예제 #1
0
 public AboutUsScreen(
     AboutUsScreenActionModel actionModel = null,
     Key key = null
     ) : base(key: key)
 {
     this.actionModel = actionModel;
 }
예제 #2
0
 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);
     }
                ));
 }
예제 #3
0
 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);
     }
                ));
 }