-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Showcase.withwidget always gives me Null check operator used on a null value #196
Comments
Hi @vatsaltanna can you help me with this, please? |
@mhilalsh Can you please share stacktrace? |
@BirjuVachhani sorry for the late response, ======== Exception caught by widgets library ======================================================= The relevant error-causing widget was: |
@BirjuVachhani @vatsaltanna FYI Showcase.withWidget throws this exception when I try to wrap a custom widget in it like this custom drop down menu it's a separated widget that I created and included in my login page, but it works fine if I try to wrap any other normal widgets in it. |
it worked with me I guess my problem was in the parameters that I gave to the showcase.withwidget here's my code : |
I'm trying to use the Showcase.withwidget to create a container because I want to add a skip button to the showcase, but every time I try to use the showcase.withwidget I get "Null check operator used on a null value",
my code snippet :
Showcase.withWidget(
key: _one,
shapeBorder: CircleBorder(),
container: Container(
height: 200,
width: 200,
child: Row(
children: [
Text("..."),
ElevatedButton(onPressed: (){
ShowCaseWidget.of(context).dismiss();
}, child: Text("skip"))
],
),
),
child: _customDropDownMenu,
),
The text was updated successfully, but these errors were encountered: