bottom method

Widget? bottom()

Implementation

Widget? bottom() {
  // 加载完成
  if (widget.finished) {
    if (widget.finishedText == '') {
      return null;
    }
    return Padding(
      padding: const EdgeInsets.only(
        top: VanPadding.base,
        bottom: VanPadding.base,
      ),
      child: Text(
        widget.finishedText,
        style: const TextStyle(
          color: VanColor.gray6,
          fontSize: VanFontSize.md,
        ),
        textAlign: TextAlign.center,
      ),
    );
  }
  // loading
  return loadingWdt();
}