computeDragVisualValue function
Logoheadless

computeDragVisualValue#

bool computeDragVisualValue({ required double dragT})

Computes the preview visual value during drag.

This is used for WidgetStateProperty resolution (e.g., thumbIcon). Returns what the switch value would become if released at current position.