Open JaySoni26 opened 2 years ago
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),
),
),
======== 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.