Open sourabhdawari opened 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"), ), ), ); } }
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"), ), ), ); } }