File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ class _ShowcaseState extends State<Showcase> {
535535
536536 late ShowcaseScope _showCaseWidgetManager;
537537
538- late final int _uniqueId = widget .hashCode;
538+ late final int _uniqueId = UniqueKey () .hashCode;
539539
540540 @override
541541 void initState () {
Original file line number Diff line number Diff line change @@ -310,7 +310,6 @@ class ShowcaseController {
310310 targetPadding: config.targetPadding,
311311 ),
312312 ToolTipWrapper (
313- key: ValueKey (id),
314313 title: config.title,
315314 titleTextAlign: config.titleTextAlign,
316315 description: config.description,
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ class OverlayManager {
181181 // This key is used to force rebuild the overlay when needed.
182182 // this key enables `_overlayEntry?.markNeedsBuild();` to detect that
183183 // output of the builder has changed.
184- key: ValueKey (firstShowcaseConfig.hashCode ),
184+ key: ValueKey (firstController.id ),
185185 children: [
186186 GestureDetector (
187187 onTap: firstController.handleBarrierTap,
@@ -199,7 +199,7 @@ class OverlayManager {
199199 ),
200200 ),
201201 ),
202- ...controllers.expand ((object) => object.tooltipWidgets),
202+ ...controllers.expand ((object) => object.tooltipWidgets). toList () ,
203203 ],
204204 );
205205
You can’t perform that action at this time.
0 commit comments