title: Text("Campaign Information"),
children: <Widget>[
Row(
children: <Widget>[
Column(
children: <Widget>[
Row(
children: <Widget>[
Text("Long Long Information1"),
SizedBox(width: 10),
Container(
width: 100,
child: TextFormField(
maxLength: 10,
maxLines: 1,
),
)
],
),
Row(
children: <Widget>[
Text("222"),
SizedBox(width: 10),
Container(
width: 100,
child: TextFormField(
maxLength: 10,
maxLines: 1,
),
)
],
),
],
),
Column(
children: <Widget>[
Row(
children: <Widget>[
Text("Long Long Information2"),
SizedBox(width: 10),
Container(
width: 100,
child: TextFormField(
maxLength: 10,
maxLines: 1,
),
),
],
),
Row(
children: <Widget>[
Text("333"),
SizedBox(width: 10),
Container(
width: 100,
child: TextFormField(
maxLength: 10,
maxLines: 1,
),
),
],
),
],
),
],
),
SizedBox(width: 50),
],
),
我是 Flutter 的新手,我试图用 ExpansionTile 创建一个表单,这个项目将能够在桌面模式和移动模式下显示。我试图将“information2”包装在“information1”下方,我研究了有关包装的所有文档,并尽我所能,但文本会展开并从小屏幕溢出。有谁知道如何实现这一目标?赞赏!

