sliding_up_panel
sliding_up_panel copied to clipboard
Bug : PanelController must be attached to a SlidingUpPanel
Describe the bug
As per recommendations from DOC:
To Reproduce Put a button inside Header (_headerPanel()) of SlidingUpPanel and check isPanelOpen to show/hide when Panel opens/closes
Expected behavior Allow using the PanelController inside the Header (inside SlidingUpPanel)
Smartphone:
- Device: Iphone 12 Pro Max
- OS: IOS
- Flutter Version: 2.2.2
- sliding_up_panel Version: 2.0.0+1
Sample main.dart
SlidingUpPanel(
controller: _panelController,
parallaxOffset: 0.0,
maxHeight: 800.0,
minHeight: 300.0,
renderPanelSheet: false,
header: _headerPanel(),
parallaxEnabled: true,
backdropOpacity: 0.5,
backdropEnabled: true,
backdropTapClosesPanel: true,
backdropColor: Colors.white,
panel:_initPanel(),
body: Column(
children: [
Text('Hello')
]
),
)
@leanhro2812 were you ever able to resolve this?
for me its caused when u have more than 3 sliding panel controller on single screen (i use 3 different panel)