fix: 修正回上一頁按鈕跳轉動畫
This commit is contained in:
parent
3131f611da
commit
c7cce038aa
|
|
@ -328,12 +328,7 @@ class _BasicInfoPageState extends State<BasicInfoPage> {
|
||||||
leading: IconButton(
|
leading: IconButton(
|
||||||
icon: Icon(Icons.arrow_back_outlined, size: 28),
|
icon: Icon(Icons.arrow_back_outlined, size: 28),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.push(
|
Navigator.of(context).pop();
|
||||||
context,
|
|
||||||
MaterialPageRoute(
|
|
||||||
builder: (context) => PersonalInfo(email: widget.email), // 修正語法錯誤
|
|
||||||
),
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
),title: Text('基本資料', style: TextStyle(fontSize: 28)),
|
),title: Text('基本資料', style: TextStyle(fontSize: 28)),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
|
@ -490,12 +485,7 @@ class _AccountPageState extends State<AccountPage> {
|
||||||
leading: IconButton(
|
leading: IconButton(
|
||||||
icon: Icon(Icons.arrow_back_outlined, size: 28),
|
icon: Icon(Icons.arrow_back_outlined, size: 28),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.push(
|
Navigator.of(context).pop();
|
||||||
context,
|
|
||||||
MaterialPageRoute(
|
|
||||||
builder: (context) => PersonalInfo(email: widget.email), // 修正語法錯誤
|
|
||||||
),
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
title: Text('帳號設定', style: TextStyle(fontSize: 28)),
|
title: Text('帳號設定', style: TextStyle(fontSize: 28)),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user