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

24 lines
629 B

  1. import 'package:flutter/cupertino.dart';
  2. import 'package:zhiying_base_widget/widgets/search/tabbar/search_tab_widget.dart';
  3. import 'package:zhiying_comm/zhiying_comm.dart';
  4. import 'package:zhiying_comm/util/sliver_tab_bar_delegate.dart';
  5. class SearcchTabCreater extends WidgetCreater{
  6. @override
  7. List<Widget> createWidgets(Map<String, dynamic> model) {
  8. return [
  9. // SliverPersistentHeader(
  10. // delegate: SliverTabBarDelegate(
  11. // SearchTabWidget(model),
  12. // ),
  13. // ),
  14. Expanded(child: SearchTabWidget(model)),
  15. ];
  16. }
  17. @override
  18. bool isSliverChild() {
  19. return false;
  20. }
  21. }