title: How do I make a widget that makes the text wrap
body: <p>I have a container that is sized relative to the window size.  I need my text widget, which is nested in this container to fill the size of the container, which I can do except the text all stays on one line.  I want the text to wrap to that it fills the height of the container and not just its width.</p>
  <p>This is my current code,</p>
  <pre><code>Container(
                  width: width * 2.5,
                  height: height,
                  color: Colors.white,
                  child: Row(
                    mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                    children: [
                      Padding(
                        padding: EdgeInsets.fromLTRB(width / 2, 0, width / 2, 0),
                        child: Opacity(
                          opacity: 0.2,
                          child: Image.asset(
                            'assets/images/${model?.imageName}',
                            height: centerIconHeight,
                          ),
                        ),
                      ),
                      Flexible(
                        flex: 1,
                        child: FittedBox(
                          fit: BoxFit.contain,
                          child: Expanded(
                            child: Text(
                              model?.title ?? '',
                              softWrap: true,
                              maxLines: 10,
                              style: const TextStyle(
                                  fontWeight: FontWeight.bold,
                                  fontSize: 30,
                                  color: Colors.cyan),
                            ),
                          ),
                        ),
                      ),
                    ],
                  ),
                ),
  </code></pre>
  <p>And this is what it looks like when I run it. Notice the text is too small because it is only on one line and matching the containers width.</p>
  <p><a href="https://i.stack.imgur.com/FkDZi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FkDZi.png" alt="enter image description here" /></a></p>