How do I assign it to a Widget (Positioned) in its right property so that it moves next to the finger using .globalPosition.dx?

This Question is posted by seven.srikanth at 4/15/2019 4:20:23 AM





margin-right: 0px; margin-bottom: 6px; margin-left: 0px; font-family: Helvetica, Arial, sans-serif; color: rgb(29, 33, 41); font-size: 14px;](HI, I am using GestureDetector and in its function onHorizontalDragUpdate: (_) { var x = _.globalPosition.dx; } That data will be updated as I drag my finger horizontally on the screen.text_exposed_showdisplay: inline; font-family: inherit;]( question is: How do I assign it to a Widget (Positioned) in its right property so that it moves next to the finger using .globalPosition.dx? text_exposed_showdisplay: inline; font-family: Helvetica, Arial, sans-serif; color: rgb(29, 33, 41); font-size: 14px;](margin-right: 0px; margin-bottom: 6px; margin-left: 0px; font-family: inherit;](Any suggestion of conversion since the data in .globalPosition.dx is very high and Widget (Positioned) is lost in the screen if I send the data directly?

Tags:



0 Comments
Login to comment.
Recent Comments

Be the first to Comment. You can ask a Query or Share your toughts or Just say thanks.

Articles


How to Customize DrawerHeader in Flutter Navigation Drawer

Posted by seven.srikanth on 5/3/2025 5:49:02 PM how to customize drawerheader in flutter


How to Cache Network Images in Flutter

Posted by seven.srikanth on 5/3/2025 5:49:02 PM how to cache network images in flutter


How to Blur Background Widgets Using BackdropFilter in Flutter

Posted by seven.srikanth on 5/3/2025 5:49:02 PM how to blur background widgets using backdropfilter


Create a Draggable Widget in Flutter

Posted by seven.srikanth on 5/3/2025 5:49:02 PM create a draggable widget in flutter




© 2018 - Fluttercentral | Email to me - Seven.srikanth@gmail.com