v1.4.1+62
Flutter Schmutter / build (push) Successful in 3m48s

This commit is contained in:
Flummi committed 2025-06-21 13:40:44 +02:00
1 parent 2b5aaad331
commit 73a44bb269
15 files changed
+604 -511

No files matched your search

-28
View File
@@ -1,28 +0,0 @@
import 'package:flutter/material.dart';
class SmartRefreshIndicator extends StatelessWidget {
final Future<void> Function() onRefresh;
final Widget child;
const SmartRefreshIndicator({
super.key,
required this.onRefresh,
required this.child,
});
@override
Widget build(context) {
return LayoutBuilder(
builder: (context, constraints) => RefreshIndicator(
onRefresh: onRefresh,
child: SingleChildScrollView(
physics: const AlwaysScrollableScrollPhysics(),
child: ConstrainedBox(
constraints: BoxConstraints(minHeight: constraints.maxHeight),
child: child,
),
),
),
);
}
}