import 'package:flutter/material.dart'; typedef Widget CreateWidget(Map model); abstract class WidgetCreater { List createWidgets(Map model); // 去除骨架屏返回,由widget内部实现是否展示与关闭 // List createSkeleton(Map model); bool isSliverChild() { return false; } }