优化产品说明 返回
This commit is contained in:
@@ -93,14 +93,16 @@ class _ManualPageState extends State<ManualPage> {
|
||||
showMenu ? '使用说明' : _getCurrentTitle(),
|
||||
style: const TextStyle(fontSize: 18, fontWeight: FontWeight.w600, color: Color(0xFF2A3A55)),
|
||||
),
|
||||
//leading: IconButton(
|
||||
// icon: const Icon(Icons.arrow_back_ios, size: 16, color: Color(0xFF4A5568)),
|
||||
// onPressed: () {
|
||||
// if (!showMenu) {
|
||||
// setState(() => showMenu = true);
|
||||
// }
|
||||
// },
|
||||
//),
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.arrow_back_ios, size: 16, color: Color(0xFF4A5568)),
|
||||
onPressed: () {
|
||||
if (!showMenu) {
|
||||
setState(() => showMenu = true);
|
||||
} else {
|
||||
Navigator.of(context).pop();
|
||||
}
|
||||
},
|
||||
),
|
||||
),
|
||||
body: Column(children: [Expanded(child: showMenu ? _buildMenu() : _buildContent())]),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user