pull_to_refresh_flutter3 2.0.2 pull_to_refresh_flutter3: ^2.0.2 copied to clipboard
a widget provided to the flutter scroll component drop-down refresh and pull up load.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Demo',
debugShowCheckedModeBanner: false,
theme: ThemeData(
primarySwatch: Colors.blue,
primaryColor: Colors.greenAccent,
),
home: Scaffold(
body: Center(
child: Text('hello'),
),
),
);
}
}