- fix state build when deactive and dispose, and update flutter - Credit @phamconganh.
- lint errors and update to newest sdk.
- memory leak with on dispose
- Avoid tooltip area gesture detection for manual trigger mode - Credit @Pavel-Sulimau
- Controller is no longer
final
, which means it can be set and unset when the user provides their own controller.
- Add
onDismiss
andonShow
callbacks to trigger when the tooltip is shown or hidden. - Includes
barrierDismissible
which will override background clicks. This allows the user to handle the state of the scrim programatically. Credit @atarbrest
- Exposes JustTheInterface
- Updates readme to better reflect library
- controller is no longer an event based system. Instead, functions are copied from the state of the widget onto the widget.
- A field called
autoClose
was also added to the controller to mimic the effect of a pointer up event.
- Fixed tooltip closing immediately when isModal is set to false and using a controller.
- Fixed issue where hot reload would create skrim. Skrim no longer disables back button now.
- Fixed issue where tooltip would not update correctly from property changes.
- Added new tooltip property
triggerMode
andenableFeedback
.
[BREAKING]
- Renamed JustTheTooltip.entry named constructor to other class JustTheTooltipEntry. This was necessary as the two methods were different enough to be their own widgets.
- Added a
tailBuilder
for users to draw custom tails using their own path. Defaults to a linear implementation. - Added pubignore for golden files
Avoid another force unwrap error
Tooltip area will no longer force unwrap and cause error when its scope is lost
Fixes the mouse moved at load bug
Field descriptions are not accessible
Adds a longer description so I get them 130 points
Added a builder around JustTheTooltipArea
build function
Added controller for managing the state of the tooltip.
Controller is now reset to normal state when the cancelShowTimer is canceled. This avoids weird states.
Add controller for showing and hiding the tooltip
Make calls async in prep for controller migration.
Much cleaner implementation. No longer JustTheTooltipEntry. Rather, that's been replaced with a JustTheTooltip.entry
factory constructor.
Adds key check for just_the_tooltip_entry
Added a isModal
property that defines how the tooltip is handled.
Adds naive golden tests
Hides tooltip if it's already visible with tooltip entry
Accounts for scrollable space in both axis directions
Accounts for margin when getting child's intrinsic size
Uses optional scroll position to better position tooltip
Gets child size through intrinsics rather than compute drylayout which breaks textFields
Added computeDryLayout
method to overlay
Added JustTheTooltipArea
for users who need to insert their tooltips into the tree more precisely.
Add in curve animation property
Wire up already in place fade animations
Change layout strategy and add screnshots
We only do one layout now
Fixed a bug in second layout pass
initial release