feat: pull to refresh on home
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user