title: Flutter Sliding Up panel hide does not trigger state
body: <p>I am using flutter's sliding_up_panel 2.0.0+1. I have blog state in bottom. The state is to show the panel or not. So user I can trigger and update the state from setting screen.</p>
  <p>So I check the Collapsed Bottom Panel, if there is true, show the Bottom Panel and otherwise hide the panel. But I trigger the panel's hide event, state is no trigger any more. If I don't hide the pane, state is trigger. Below is my code.</p>
  <p>May I know why it is happening and is there other way around?</p>
  <pre><code>class _BottomPanelState extends State&lt;BottomPanel&gt; {
    @override
    Widget build(BuildContext context) {
      return Container(
        height: double.infinity,
        width: double.infinity,
        alignment: Alignment.bottomCenter,
        child: BlocBuilder&lt;PlayerBloc, PlayerState&gt;(
          builder: (BuildContext context, PlayerState playerState) {
            if (playerState is Playing) {
              //widget.controller.show();       
            } else {
              //widget.controller.hide();
              return Container();
            }
        }),
      );
    }
  }
  </code></pre>