Skip to content
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

panel!=null || panel builder!=null is not true #307

Open
JaySoni26 opened this issue Jun 2, 2022 · 1 comment
Open

panel!=null || panel builder!=null is not true #307

JaySoni26 opened this issue Jun 2, 2022 · 1 comment

Comments

@JaySoni26
Copy link

======== Exception caught by widgets library =======================================================
The following assertion was thrown building HomeScreen(dirty, state: _HomeScreenState#94ce4(tickers: tracking 1 ticker)):
'package:sliding_up_panel/src/panel.dart': Failed assertion: line 199 pos 16: 'panel != null || panelBuilder != null': is not true.

@yunus-floo
Copy link

yunus-floo commented Jun 15, 2022

panel must be set to widget, not allowed to null

SlidingUpPanel(
        body: Container(),
        panel: Container(
          width: 100.w,
          decoration: BoxDecoration(color: Theme.of(context).colorScheme.surface),
        ),
      ),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants