Example #1
0
 public PageRoute(
     [NotNull] string name,
     [NotNull] WidgetBuilder builder,
     RouteModalType modalType = RouteModalType.Popup
     ) : base(new ScreenSettings(name, modalType))
 {
     _builder = builder;
 }
Example #2
0
 public AnimatedPageRoute(
     [NotNull] string name,
     [NotNull] AnimatedWidgetBuilder builder,
     float duration,
     float?reverseDuration    = null,
     RouteModalType modalType = RouteModalType.Popup
     ) : base(new ScreenSettings(name, modalType))
 {
     _builder         = builder;
     _tweenController = new AnimationController(duration, reverseDuration);
 }
Example #3
0
 public RouteSettings(string name, RouteModalType modalType)
 {
     Name      = name;
     ModalType = modalType;
 }