IntrinsicHeight
でRow
を囲うと、一番高いウィジェットに他のウィジェットの高さが合わせられます
IntrinsicHeight(
child: Row(
children: <Widget>[
Expanded(child: Container(color: Colors.blue, height: 100)),
Expanded(child: Container(color: Colors.red)),
],
),
)
つまり、TextFieldの高さに合わせたりすることができるのです!
Flutter開発で知らないと損すること