functions/navigators library

empathetech_flutter_ui Copyright (c) 2023 Empathetech LLC. All rights reserved. See LICENSE for distribution and usage details.

Functions

popAndPushScreen({required BuildContext context, required Widget screen}) Future
More readable than Navigator function spelled out
popScreen({required BuildContext context, dynamic pass}) → void
Alias for Navigator.of(context).pop()
popUntilHome(BuildContext context) → void
More readable than Navigator function spelled out Runs pop until '/' route
pushScreen({required BuildContext context, required Widget screen}) Future
More readable than Navigator spelled out
replaceScreen({required BuildContext context, required Widget screen}) Future
More readable than Navigator function spelled out