showTopNotification static method

VoidCallback showTopNotification(
  1. BuildContext context, {
  2. required Widget child,
  3. bool showMask = false,
  4. bool autoHide = true,
})

Implementation

static VoidCallback showTopNotification(
  BuildContext context, {
  required Widget child,
  bool showMask = false,
  bool autoHide = true,
}) {
  return _showBaseDrawer(
    context,
    child: child,
    type: VxDrawerType.top,
    showMask: showMask,
    autoHide: autoHide,
  );
}