基础组件库
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.
 
 
 
 
 

22 lines
495 B

  1. import 'package:flutter/material.dart';
  2. import 'package:zhiying_base_widget/widgets/mine_header/mine_header.dart';
  3. import 'package:zhiying_comm/zhiying_comm.dart';
  4. class MineHeaderCreater extends WidgetCreater {
  5. @override
  6. List<Widget> createWidgets(Map<String, dynamic> model) {
  7. return [
  8. SliverPersistentHeader(
  9. pinned: true,
  10. floating: false,
  11. delegate: MineHeaderDelegate(),
  12. ),
  13. ];
  14. }
  15. @override
  16. bool isSliverChild() {
  17. return true;
  18. }
  19. }