models/helper_functions library

Functions

printToConsole(Object? message) → void
prints a single message to console only in debug mode
setVariables(bool mounted, StateSetter setState, VoidCallback function) → void
execute the function based on mounted call setState if mounted otherwise execute the function normally
showSnackBar(BuildContext context, String text) → void
helper function to display snack bar message