|
@@ -8,7 +8,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
|
|
import 'package:get/get.dart';
|
|
import 'package:get/get.dart';
|
|
|
|
|
|
|
|
-void talkAddTemplatePopup(BuildContext context, {VoidCallback? onDismiss}) {
|
|
|
|
|
|
|
+void talkAddTemplatePopup(BuildContext context) {
|
|
|
SmartDialog.showAttach(
|
|
SmartDialog.showAttach(
|
|
|
targetContext: context,
|
|
targetContext: context,
|
|
|
targetBuilder: (targetOffset, targetSize) =>
|
|
targetBuilder: (targetOffset, targetSize) =>
|
|
@@ -17,9 +17,6 @@ void talkAddTemplatePopup(BuildContext context, {VoidCallback? onDismiss}) {
|
|
|
alignment: Alignment.bottomLeft,
|
|
alignment: Alignment.bottomLeft,
|
|
|
keepSingle: true,
|
|
keepSingle: true,
|
|
|
usePenetrate: true,
|
|
usePenetrate: true,
|
|
|
- onDismiss: () {
|
|
|
|
|
- onDismiss?.call();
|
|
|
|
|
- },
|
|
|
|
|
maskColor: Colors.transparent,
|
|
maskColor: Colors.transparent,
|
|
|
clickMaskDismiss: true,
|
|
clickMaskDismiss: true,
|
|
|
builder: (_) {
|
|
builder: (_) {
|