可変サイズの親ウィジェットがあるとします。
例えば:
var container = new Container(
height: 200.0, // Imagine this might change
width: 200.0, // Imagine this might change
// Imagine content in this container will
// depend on the parent container
child: new Container(),
);
また、指定されたサイズに基づいて、親コンテナーの子に別のものをレンダリングさせたい場合があります。
幅が X を超えている場合はこのレイアウトを使用し、幅が X を下回っている場合はそのレイアウトを使用します。
Flutterでこれを行う最良の方法は何ですか?