warnTop static method

void warnTop(
  1. dynamic title,
  2. dynamic message
)

Implementation

static void warnTop(title, message){
  Get.snackbar(title, message,
                    backgroundColor: warnBackColor,
                    margin : const EdgeInsets.all(20),
                    snackPosition: SnackPosition.TOP,
                  );
}