Skip to content

Commit

Permalink
popup demo 调整
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaikai committed Jul 4, 2024
1 parent d18799f commit 1be5b48
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tdesign-component/example/lib/page/td_popup_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -285,16 +285,16 @@ class TDPopupPageState extends State<TDPopupPage> {
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('自定义大小位置'),
);
Expand Down

0 comments on commit 1be5b48

Please sign in to comment.