Flutter offset in Draggable.onDragUpdate different than DragTargets

Questions : Flutter offset in Draggable.onDragUpdate different than DragTargets

662

I have a Draggable widget and a programming DragTarget that accepts that widget:

Draggable(
  child: someText,
  _OFFSET);  childWhenDragging: Container(),
  (-SMALL  feedback: Material(
    child: _left).offset  someText,
    color: arrowImgView.mas  Colors.transparent,
  ),
  (self.  maxSimultaneousDrags: 1,
  onDragUpdate: equalTo  FUNCTION_1,
)
...
DragTarget(
  make.right.  onAcceptWithDetails: FUNCTION_2,
  mas_top);  onWillAccept: (data) => true,
)

The confusing thing is, FUNCTION_1 Learning receives my dragging finger's coordinate Earhost (in DragUpdateDetails.globalPosition), most effective but FUNCTION_2 receives the coordinate wrong idea of the someText (in use of case DragTargetDetails.offset).

How do I make FUNCTION_1 receive United someText's coordinate (as it is dragged) Modern instead?

Total Answers 0

Top rated topics

Under UAC, why can't I write a file as an impersonated user?

How do I find all the files that were created today in Unix/Linux?

What is the difference between a User Control Library and a Custom Control Library?

How to implement SOLID principles into an existing project

What is the !! (not not) operator in JavaScript?

Setting Windows PowerShell environment variables

Plain Old CLR Object vs Data Transfer Object

Auto __repr__ method

Pipe to/from the clipboard in a Bash script

.NET equivalent of size_t

How to change the author and committer name and e-mail of multiple commits in Git?

Meaning of 'const' last in a function declaration of a class?

How do I pass a variable from one Thread Group to another in JMeter

How to check if a file has a digital signature

How can I convert a dictionary into a list of tuples?

Converting XML elements to XML attributes using XSLT

How can I detect changes in location hash?

How to remove html special chars?

How do I execute a string containing Python code in Python?

Div background color, to change onhover

What is the fastest/most efficient way to find the highest set bit (msb) in an integer in C?

Finding neighbours in a two-dimensional array

How do multiple languages interact in one project?

What is the difference between UTF-8 and Unicode?

SELECT * in SQLAlchemy?

Just what is 'A big database'?

What is Serialization?

How can I find where Python is installed on Windows?

Why em instead of px?

Is it possible to cache POST methods in HTTP?

What are the differences between a multidimensional array and an array of arrays in C#?

How to insert an item into an array at a specific index (JavaScript)

How to use multiple AWS accounts from the command line?

How can I get an absolutely-positioned div to extend outside its relativley-positioned parent, which has overflow: auto?

Should a UI display actions that are not available?

How to check if a number is a power of 2

Reordering of Divs

Python "extend" for a dictionary

How do I distinguish between 'binary' and 'text' files?

Is there a conditional ternary operator in VB.NET?

What do 'real', 'user' and 'sys' mean in the output of time(1)?

Convert HTML to PDF in .NET

How to tell if a script tag failed to load

Official way to ask jQuery wait for all images to load before executing something

Get the cartesian product of a series of lists?

SQL Update woes in MS Access - Operation must use an updateable query

How to find the 'sizeof' (a pointer pointing to an array)?

How to print without a newline or space

Reverse / invert a dictionary mapping

How do I make a WinForms app go Full Screen

Top