From 1be5b489422e833a4248c0324ecd4cc94af2e478 Mon Sep 17 00:00:00 2001 From: hkaikai <617760820@qq.com> Date: Thu, 4 Jul 2024 16:15:05 +0800 Subject: [PATCH] =?UTF-8?q?popup=20demo=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/lib/page/td_popup_page.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tdesign-component/example/lib/page/td_popup_page.dart b/tdesign-component/example/lib/page/td_popup_page.dart index 5be1a4527..87b3dcf1c 100644 --- a/tdesign-component/example/lib/page/td_popup_page.dart +++ b/tdesign-component/example/lib/page/td_popup_page.dart @@ -285,16 +285,16 @@ class TDPopupPageState extends State { Navigator.of(context).push( TDSlidePopupRoute( modalBarrierColor: TDTheme.of(context).fontGyColor2, - slideTransitionFrom: SlideTransitionFrom.center, + slideTransitionFrom: SlideTransitionFrom.left, modalTop: 500, - modalLeft: 150, - modalWidth: 100, - modalHeight: 200, - modalBarrierFull: true, + // modalLeft: 150, + // modalWidth: 200, + // modalHeight: 200, + // modalBarrierFull: true, builder: (context) { return Container( color: Colors.white, - height: 300, + height: double.infinity, width: 200, child: const TDText('自定义大小位置'), );