基础库
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

widget_creater.dart 372 B

1234567891011121314
  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. }