|
- import 'package:flutter/material.dart';
- import 'package:pull_to_refresh/pull_to_refresh.dart';
- import 'package:loading_indicator/loading_indicator.dart';
-
- class RefreshHeader extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return CustomHeader(
- builder: (BuildContext context, RefreshStatus mode) {
- return Container(
- height: 120,
- width: double.infinity,
- child: Center(child: LoadingIndicator(
- indicatorType: Indicator.lineScale, color: Colors.white,),),
- // color: Colors.blue,
- );
- },
- );
- }
- }
|