components/widgets/static_widgets library
Constants
- appPrimaryColor → const Color
- primaryTextColor → const Color
Functions
-
appSnackbar(
BuildContext context, String message, {IconData? icon, Color? iconColor, bool backToRoot = false}) → void - Generic reusable Snackbar for the package
-
topBar(
{VoidCallback? onBack, required BuildContext context, bool isCancelPayment = true}) → Widget - Top bar widget with optional back button and close button