initEmptyView static method

dynamic initEmptyView(
  1. Widget? icon,
  2. String? msg
)

Implementation

static initEmptyView(Widget? icon, String? msg) {
  RefreshView.emptyView = icon;
  RefreshView.emptyString = msg ?? '暂无数据';
}