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

21 lines
608 B

  1. import 'package:flutter/material.dart';
  2. import 'package:pull_to_refresh/pull_to_refresh.dart';
  3. import 'package:loading_indicator/loading_indicator.dart';
  4. class RefreshHeader extends StatelessWidget {
  5. @override
  6. Widget build(BuildContext context) {
  7. return CustomHeader(
  8. builder: (BuildContext context, RefreshStatus mode) {
  9. return Container(
  10. height: 120,
  11. width: double.infinity,
  12. child: Center(child: LoadingIndicator(
  13. indicatorType: Indicator.lineScale, color: Colors.white,),),
  14. // color: Colors.blue,
  15. );
  16. },
  17. );
  18. }
  19. }