showLoading static method

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

Implementation

static Function showLoading(
  BuildContext context, {
  String? msg,
  Color? bgColor,
  Color? textColor,
  double pdHorizontal = 20,
  double pdVertical = 10,
  double textSize = 14,
}) {
  return _showToast(
    context,
    msg: msg,
    bgColor: bgColor,
    textColor: textColor,
    textSize: textSize,
    pdHorizontal: pdHorizontal,
    pdVertical: pdVertical,
    type: VxToastType.loading,
  );
}