• Tom Larsen's avatar
    Add onLeave callback to DragTarget (#14103) · b7f6be6f
    Tom Larsen authored
    * Add a callback that fires when a Draggable leaves a DragTarget.  This enables the DragTarget to manage its state from entry to exit.
    
    * It helps to have a null check here
    
    * Add test for onLeave callback and add verbiage to onWillAccept explaining the callback lifecycle of a DragTarget.
    b7f6be6f
Name
Last commit
Last update
..
src Loading commit data...
analysis_options_user.yaml Loading commit data...
animation.dart Loading commit data...
cupertino.dart Loading commit data...
foundation.dart Loading commit data...
gestures.dart Loading commit data...
material.dart Loading commit data...
painting.dart Loading commit data...
physics.dart Loading commit data...
rendering.dart Loading commit data...
scheduler.dart Loading commit data...
semantics.dart Loading commit data...
services.dart Loading commit data...
widgets.dart Loading commit data...