Created
August 4, 2021 13:52
-
-
Save BrianMwas/4deb856aeea1390c6b8070d3af8a2d17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Can be called within controllers | |
void toDashboard() { | |
Get.to( | |
AppLinks.DASHBOARD, | |
// Transition as a property. Different transitions can be applied. Such as | |
// fade, | |
// fadeIn, | |
// rightToLeft, | |
// leftToRight, | |
// upToDown, | |
// downToUp, | |
// rightToLeftWithFade, | |
// leftToRightWithFade, | |
// zoom, | |
transition: Transition.fadeIn | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment