title: read data in panel sliding up panel flutter
body: <p>I've used SlidingUpPanel in my main class.
  and in the main class, I have a bottom sheet, and then clicking on the bottom sheets icon, load page.
  now when I've to use SlidingUpPanel, I have problem loading pages in the body.
  can anyone help me with how can I load pages of the bottom navigation in the body of SlidingUpPanel?</p>
  <pre><code> Widget build(BuildContext context) {
      var pageWidth = MediaQuery.of(context).size.width;
      return Scaffold(
        body: SlidingUpPanel(
          controller: _pc,
          panelBuilder: (sc) {
            if (!isCollapsed) _pc.hide();
            return Container(
              child: Center(child: Text(&quot;Panel&quot;)),
            );
          },
  
          body: //here I want to load click bottom navigation page
  ),
  
  bottomNavigationBar: BottomNavigationBar(
    type: BottomNavigationBarType.fixed,
   onTap: (index) {
            switch (index) {
              case 0:
                {
                  Navigator.pushReplacementNamed(context, '/'); 
                  break;
                }
              case 1:
                {
                  Navigator.pushNamed(context, '/search');
  
                  break;
                }
              case 2:
                {
                  Navigator.pushNamed(context, '/library');
                  break;
                }
              case 3:
                {
                  Navigator.pushNamed(context, '/profile');
                  break;
                }
            }
          },           
  items[...]   
     ),
      );
    }
  </code></pre>
  <p>can anyone help me, please?</p>