loadingWdt method

Widget? loadingWdt()

Implementation

Widget? loadingWdt() {
  if (widget.loading) {
    return Padding(
      padding: const EdgeInsets.only(
        top: VanPadding.xs,
        bottom: VanPadding.xs,
      ),
      child: VanLoading(
        text: widget.loadingText,
      ),
    );
  }
  return null;
}