snackByItem static method

void snackByItem({
  1. required BuildContext context,
  2. required NUISnackItem item,
})

Implementation

static void snackByItem({
  required BuildContext context,
  required NUISnackItem item
}){
  return snack(context: context, content: item.content, action: item.action, duration: item.duration, backgroundColor: item.backgroundColor, elevation: item.elevation);
}