99571208
liangchengyou
feat:弹窗
|
1
2
3
4
5
|
import 'package:flutter/material.dart';
import 'package:wow_english/route/route.dart';
import 'customer_dialog.dart';
|
210d15e0
Key
fixed: 账户注销接口
|
6
7
|
void showOneActionDialog(String title, String ensureTitle, String content, GestureTapCallback ensureTap,
{bool? barrierDismissible}) {
|
99571208
liangchengyou
feat:弹窗
|
8
9
|
showDialog<CustomerOneActionDialog>(
context: AppRouter.context,
|
210d15e0
Key
fixed: 账户注销接口
|
10
11
|
barrierDismissible: barrierDismissible ?? true,
builder: (BuildContext context) {
|
99571208
liangchengyou
feat:弹窗
|
12
13
14
15
|
return CustomerOneActionDialog(title, ensureTitle, content, ensureTap);
});
}
|
210d15e0
Key
fixed: 账户注销接口
|
16
17
18
|
void showTwoActionDialog(String title, String leftTitle, String rightTitle, String content, GestureTapCallback leftTap,
GestureTapCallback rightTap,
{bool? barrierDismissible}) {
|
99571208
liangchengyou
feat:弹窗
|
19
20
|
showDialog<CustomerTwoActionDialog>(
context: AppRouter.context,
|
210d15e0
Key
fixed: 账户注销接口
|
21
22
|
builder: (BuildContext context) {
return CustomerTwoActionDialog(title, leftTitle, rightTitle, content, leftTap, rightTap);
|
99571208
liangchengyou
feat:弹窗
|
23
|
});
|
210d15e0
Key
fixed: 账户注销接口
|
24
|
}
|