akshathjain / sliding_up_panel

A draggable Flutter widget that makes implementing a SlidingUpPanel much easier!
https://pub.dartlang.org/packages/sliding_up_panel
Other
1.36k stars 377 forks source link

error: The named parameter 'panel' isn't defined. #325

Open sourabhdawari opened 1 year ago

sourabhdawari commented 1 year ago

adding inline widget or separate widget is not working for me.

class ShowcaseView extends StatelessWidget { const ShowcaseView({Key? key}) : super(key: key);

@override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text("SlidingUpPanelExample"), ), body: SlidingUpPanel( panel: Center( child: Text("This is the sliding Widget"), ), body: Center( child: Text("This is the Widget behind the sliding panel"), ), ), ); } }