Skip to content

Conversation

@bleroux
Copy link
Contributor

@bleroux bleroux commented May 20, 2022

Description

This PR adds a new onTriggered property to Tooltip.
onTriggered callback is called when the Tooltip triggers after a tap when triggerMode is TooltipTriggerMode.tap or after a long press when triggerMode is TooltipTriggerMode.longPress.

Related Issue

Fixes #103780

Tests

Adds 2 tests.

@bleroux bleroux force-pushed the add_tooltip_ontriggered_callback branch from d4eb270 to 2111b97 Compare May 20, 2022 08:26
@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels May 20, 2022
@bleroux bleroux requested a review from guidezpl May 20, 2022 08:32
Copy link
Member

@guidezpl guidezpl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@guidezpl guidezpl merged commit 5c6f65e into flutter:master May 20, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 20, 2022
@bleroux bleroux deleted the add_tooltip_ontriggered_callback branch May 20, 2022 10:40
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request May 21, 2022
camsim99 pushed a commit to camsim99/flutter that referenced this pull request Aug 10, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 30, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tooltip widget should provide a callback argument

2 participants