showLoading method

Function showLoading({
  1. required String msg,
  2. Color? bgColor,
  3. Color? textColor,
  4. double textSize = 14,
  5. double pdHorizontal = 20,
  6. double pdVertical = 10,
})

Show loading dialog

Implementation

Function showLoading({
  required String msg,
  Color? bgColor,
  Color? textColor,
  double textSize = 14,
  double pdHorizontal = 20,
  double pdVertical = 10,
}) =>
    VxToast.showLoading(this,
        msg: msg,
        bgColor: bgColor,
        pdHorizontal: pdHorizontal,
        pdVertical: pdVertical,
        textColor: textColor,
        textSize: textSize);