This commit is contained in:
Phuoc Nguyen
2025-11-19 16:16:30 +07:00
parent 73ad2fc80c
commit 54cb7d0fdd
2 changed files with 17 additions and 17 deletions

View File

@@ -213,28 +213,27 @@ class _ProductDetailPageState extends ConsumerState<ProductDetailPage> {
), ),
body: productAsync.when( body: productAsync.when(
data: (product) { data: (product) {
return Stack( return Column(
children: [ children: [
// Scrollable content // Scrollable content
SingleChildScrollView( Expanded(
child: Column( child: SingleChildScrollView(
children: [ child: Column(
// Image Gallery Section children: [
ImageGallerySection(product: product), // Image Gallery Section
ImageGallerySection(product: product),
const SizedBox(height: AppSpacing.md), const SizedBox(height: AppSpacing.md),
// Product Information Section // Product Information Section
ProductInfoSection(product: product), ProductInfoSection(product: product),
const SizedBox(height: AppSpacing.md), const SizedBox(height: AppSpacing.md),
// Product Tabs Section // Product Tabs Section
ProductTabsSection(product: product), ProductTabsSection(product: product),
],
// Bottom padding for sticky action bar ),
const SizedBox(height: 88.0),
],
), ),
), ),

View File

@@ -454,7 +454,8 @@ class _ReviewsTab extends ConsumerWidget {
// Review Items // Review Items
...reviews.map((review) => _ReviewItem(review: review)), ...reviews.map((review) => _ReviewItem(review: review)),
const SizedBox(height: 48), const SizedBox(height: 24),
], ],
); );
}, },