假设我在同一视图中有一张表格和一张地图。
我需要两件事:
该视图类似于this。
代码是
new CustomScrollView(slivers: <Widget>[
SliverList(
delegate: SliverChildListDelegate([
new Column(children: <Widget>[
new ListView(
padding: EdgeInsets.all(15.0),
shrinkWrap: true,
children: <Widget>[
new SafeArea(child: instalationDropdown),
alias,
new Divider(color: Colors.transparent),
SizedBox(height: 12.0),
new Text(
DemoLocalizations.of(context)
.text('datameter'),
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.bold)),
datameter,
new Divider(color: Colors.transparent),
SizedBox(height: 12.0),
new Text(
DemoLocalizations.of(context).text('meter'),
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.bold)),
contador,
Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[ Expanded(child:makerDropdown),
Expanded(child:modeloDropdown),
]),
other,
next
])
])
])),
SliverFillViewport(delegate: SliverChildListDelegate([map]))
]),
¿有人知道我可以转换表单容器可拖动吗? ¿我如何在列表中忽略垂直拖动选项(在地图内部)?