• Diego Tori's avatar
    Added support for passing in velocity and offset into Draggable.onDragCompleted (#22267) · 9447be73
    Diego Tori authored
    * Added support for passing in velocity and offset into Draggable.onDragCompleted.
    
    * Fixed documentation of DragCompletedCallback.
    
    * Spun off previous onDragCompleted breaking changes into new callback called Draggable.onDragEnd.
    
    * Revert "Fixed documentation of DragCompletedCallback."
    
    This reverts commit 069051f5be0d4ec6a1f4b3f072e535ca87e5d740.
    
    * Revert "Added support for passing in velocity and offset into Draggable.onDragCompleted."
    
    This reverts commit 7ef744aa5645429b7bc92527226203ee8bff68ec.
    
    * DraggableDetails constructor is now declared first as per Flutter code style.
    
    * Draggable.onDragEnd will only call back if its widget is currently mounted to the tree.
    
    * Moved "});" in DraggableDetails constructor to new line, vertically aligned with the constructor name, as per Flutter code style.
    
    * Added space between if statement in drag_target.dart.
    
    * widget.onDragEnd call is now formated as per flutter code style.
    
    * Added more details to DraggableDetails documentation.
    
    * Added brackets to if statement block as per Flutter code style.
    
    * Fixed minor nits in DraggableDetails documentation.
    
    * Made DraggableDetails constructor public. Also added documentation for its constructor.
    9447be73
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...