flutter_showcaseview icon indicating copy to clipboard operation
flutter_showcaseview copied to clipboard

Remove requirement for widgets to have activeWidgetIds

Open frankyvij opened this issue 4 years ago • 4 comments

Widgets are reusable across the application, and some widgets in specific context may required to be showcased. Additionally, some widgets simply change behavior based on parameters passed.

I am suggesting to change following implementation in showcase_widget to: static activeTargetWidget(BuildContext context) { return context .dependOnInheritedWidgetOfExactType<_InheritedShowCaseView>() ?.activeWidgetIds; }

Doing so does not break the UI in case a user intends to use Showcase(child: widget), but does not want to use ShowCaseView(builder: ...) for a specific scenario.

frankyvij avatar Nov 21 '20 13:11 frankyvij

my app is having this error for the first time launch , but from second time the error dissappears.

ManojDvs avatar Jan 13 '21 14:01 ManojDvs

my app is having this error for the first time launch , but from second time the error dissappears.

I have the same Issue what is the solution for this?

WwwdMR avatar Jan 16 '21 18:01 WwwdMR

@ManojDvs @WwwdMR Can you guys please provide more information on the error that you are receiving so that we would be able to help you more?

aditya-css avatar Feb 07 '24 12:02 aditya-css

@frankyvij Can you please try to give us few of the scenarios for which you are suggesting such a change so that we can evaluate it better?

aditya-css avatar Feb 07 '24 12:02 aditya-css

Closing this issue cause of inactivity. Feel free to open a new issue if required.

aditya-css avatar Feb 26 '24 09:02 aditya-css