COMPACT FULL VERSION

Overview

  • The DragEndEvent is triggered when a drag gesture is completed.
  • It inherits from flet.Event.
  • Properties

  • global_position: Offset
  • - The global position of the pointer when the drag gesture has been completed. - Metadata: data_field='g'
  • local_position: Offset
  • - The local position within the event receiver's coordinate system when the drag gesture has been completed. - Metadata: data_field='l'
  • primary_velocity: float | None
  • - The velocity along the primary axis (in logical pixels per second) when the pointer stopped contacting the screen. - Default: None - Metadata: data_field='pv'
  • velocity: Offset
  • - The velocity vector (in logical pixels per second) when the pointer stopped contacting the screen. - Metadata: data_field='v'