fix:【我的页-增值服务-实名认证 首次购买后点左上箭头退不到APP,在购物车是空的和订单提交成功界面来回切换(首次买高级功能一样)】
https://www.tapd.cn/69273997/bugtrace/bugs/view/1169273997001002869
This commit is contained in:
parent
70431731d3
commit
adf630b9ae
@ -17,6 +17,7 @@ class TitleAppBar extends AppBar {
|
|||||||
final bool? haveOtherLeftWidget;
|
final bool? haveOtherLeftWidget;
|
||||||
final Widget? leftWidget;
|
final Widget? leftWidget;
|
||||||
List<Widget>? actionsList;
|
List<Widget>? actionsList;
|
||||||
|
final double? leadingWidth;
|
||||||
|
|
||||||
TitleAppBar(
|
TitleAppBar(
|
||||||
{Key? key,
|
{Key? key,
|
||||||
@ -30,6 +31,7 @@ class TitleAppBar extends AppBar {
|
|||||||
this.haveBack,
|
this.haveBack,
|
||||||
this.backAction,
|
this.backAction,
|
||||||
this.haveOtherLeftWidget = false,
|
this.haveOtherLeftWidget = false,
|
||||||
|
this.leadingWidth,
|
||||||
this.leftWidget})
|
this.leftWidget})
|
||||||
: super(key: key);
|
: super(key: key);
|
||||||
|
|
||||||
@ -42,6 +44,7 @@ class _TitleAppBarState extends State<TitleAppBar> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return AppBar(
|
return AppBar(
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
|
leadingWidth: widget.leadingWidth,
|
||||||
leading: widget.haveOtherLeftWidget!
|
leading: widget.haveOtherLeftWidget!
|
||||||
? widget.leftWidget
|
? widget.leftWidget
|
||||||
: (widget.haveBack ?? false
|
: (widget.haveBack ?? false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user