detail
This commit is contained in:
@@ -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),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|||||||
@@ -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),
|
||||||
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user