优化产品说明 返回
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
class ProductPage extends StatefulWidget {
|
||||
const ProductPage({super.key});
|
||||
@@ -125,6 +126,11 @@ class _ProductPageState extends State<ProductPage> {
|
||||
onPressed: () => setState(() => currentPage = 0),
|
||||
icon: const Icon(Icons.arrow_back_ios, size: 18, color: Color(0xFF333333)),
|
||||
),
|
||||
if (currentPage == 0)
|
||||
IconButton(
|
||||
onPressed: () => context.pop(),
|
||||
icon: const Icon(Icons.arrow_back_ios, size: 18, color: Color(0xFF333333)),
|
||||
),
|
||||
Expanded(
|
||||
child: Text(
|
||||
title,
|
||||
|
||||
Reference in New Issue
Block a user