title: How to re initstate when Parent widget give different value?
body: <pre><code>void initState() {
      var size = widget.screensize;
      double step = size.width * widget.width;
  </code></pre>
  <p>The screen size is given by parent widget.</p>