public PageRoute( [NotNull] string name, [NotNull] WidgetBuilder builder, RouteModalType modalType = RouteModalType.Popup ) : base(new ScreenSettings(name, modalType)) { _builder = builder; }
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); }
public RouteSettings(string name, RouteModalType modalType) { Name = name; ModalType = modalType; }