Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duration of transition for Get.to() #15

Closed
domons opened this issue Feb 17, 2020 · 1 comment
Closed

Duration of transition for Get.to() #15

domons opened this issue Feb 17, 2020 · 1 comment

Comments

@domons
Copy link

domons commented Feb 17, 2020

Can I globally change time of fade transition? In GetRoute is parameter duration, but I don't know how used it without changes in library code. Is it possible?

@domons domons changed the title Duration of transition Duration of transition for Get.to() Feb 17, 2020
@jonataslaw
Copy link
Owner

Can I globally change time of fade transition? In GetRoute is parameter duration, but I don't know how used it without changes in library code. Is it possible?

It is not possible to globally define the duration of the transition, precisely because you can define different durations for each type of transition. However, it was added on 1.10.4 the possibility to define the duration on unnamed routes, example:

usage: Get.to(Home(), duration: Duration(seconds: 1));

jonataslaw pushed a commit that referenced this issue Nov 9, 2020
Changed russian translate in state_managment
kamazoun added a commit to kamazoundevz/getx that referenced this issue Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants