mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
13 lines
235 B
Dart
13 lines
235 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
Widget refreshIndicator({
|
|
required RefreshCallback onRefresh,
|
|
required Widget child,
|
|
}) {
|
|
return RefreshIndicator(
|
|
displacement: 20,
|
|
onRefresh: onRefresh,
|
|
child: child,
|
|
);
|
|
}
|