sk_utils 0.0.2 copy "sk_utils: ^0.0.2" to clipboard
sk_utils: ^0.0.2 copied to clipboard

sk_utils is a very usefull package that contains class like NavX thta makes it easy to navigate with transitions and biolerplate codes.

sk_utils contains NavX class that helps you to easily navigate to other pages without writing long boilerplate code.It also adds transitions including slide and fade and you can also add custom duration as per your need.

NavX(context).to(const Second(), NavXTransition.slideUp(), 1000); //slides up

NavX(context).to(const Second(), NavXTransition.slideAside(), 1000); //slides aside

NavX(context).to(const Second(), NavXTransition.fade(), 1000); //fades

NavX(context).toEnd(const Second(), NavXTransition.slideUp(), 1000); //slides up and remove all previous routes

NavX(context).toEnd(const Second(), NavXTransition.slideAside(), 1000);//slides aside and remove all previous routes

NavX(context).toEnd(const Second(), NavXTransition.fade(), 1000); //fades and remove all previous routes

NavX.back(context); //goes back
3
likes
110
pub points
0%
popularity

Publisher

unverified uploader

sk_utils is a very usefull package that contains class like NavX thta makes it easy to navigate with transitions and biolerplate codes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

flutter, flutter_oss_licenses

More

Packages that depend on sk_utils