基础库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 regels
372 B

  1. import 'package:flutter/material.dart';
  2. typedef Widget CreateWidget(Map<String, dynamic> model);
  3. abstract class WidgetCreater {
  4. List<Widget> createWidgets(Map<String, dynamic> model);
  5. // 去除骨架屏返回,由widget内部实现是否展示与关闭
  6. // List<Widget> createSkeleton(Map<String, dynamic> model);
  7. bool isSliverChild() {
  8. return false;
  9. }
  10. }