feat: pull to refresh on home

This commit is contained in:
efrilm
2025-08-20 13:57:00 +07:00
parent 5a83bc4049
commit 3f75bffd09
2 changed files with 117 additions and 106 deletions
@@ -13,6 +13,10 @@ class HomeTopProduct extends StatelessWidget {
@override
Widget build(BuildContext context) {
if (products.isEmpty) {
return const SizedBox.shrink();
}
return Padding(
padding: const EdgeInsets.symmetric(
vertical: 24,