Android 在颤振中将两个ListView合并为一个

Android 在颤振中将两个ListView合并为一个,android,ios,listview,flutter,Android,Ios,Listview,Flutter,我必须列出我的颤振项目中的项目,我需要使用2ListView一个接一个地查看它们,以下是更多详细信息: 列表 List moreThenOneLineList=[]; 列表mutualStationsList=[]; List oneLineList=[]; 小部件 child:Column( 儿童:[ 扩大( 子:ListView( 子项:oneLineList.map((行){ 返回手势检测器( onTap:(){ Navigator.pushNamed( 上下文“/line_detail

我必须列出我的颤振项目中的项目,我需要使用2
ListView
一个接一个地查看它们,以下是更多详细信息:

列表

List moreThenOneLineList=[];
列表mutualStationsList=[];
List oneLineList=[];
小部件

child:Column(
儿童:[
扩大(
子:ListView(
子项:oneLineList.map((行){
返回手势检测器(
onTap:(){
Navigator.pushNamed(
上下文“/line_details”,
论据:{
“行”:行,
“一线”:没错,
});
},
孩子:卡片(
颜色:颜色。深紫色,
立面图:8,
孩子:填充(
衬垫:
常数边集全部(8.0),
子:列(
儿童:[
划船(
主轴对准:
主轴对准
,
儿童:[
正文(
“${行
.transportationType}“,
样式:TextStyle(
颜色:
颜色,白色,
尺寸:20),,
),
],
),
划船(
主轴对准:
主轴对准
居中
儿童:[
正文(
“${line.startStation
.stationName}“,
样式:TextStyle(
颜色:
颜色,白色,
尺寸:20),,
),
],
),
划船(
主轴对准:
主轴对准
居中
儿童:[
图标(
图标。向下箭头_,
颜色:颜色,白色,
尺码:30,
)
],
),
划船(
主轴对准:
主轴对准
居中
儿童:[
正文(
“${line.endStation”
.stationName}“,
样式:TextStyle(
颜色:
颜色,白色,
尺寸:20),,
),
],
),
划船(
主轴对准:
主轴对准
.spaceBetween,
儿童:[
正文(
  Scaffold(
        body: Column(
          children: <Widget>[
            Expanded(
              child: ListView(
                children: list1//list1 is a dummy list of String I created for demonstration
                    .map(
                      (listElement) => Text(//return your own widget instead of this
                        listElement,
                        style:
                            TextStyle(fontSize: 40, color: Colors.cyanAccent),
                      ),
                    )
                    .toList()
                      ..addAll(
                        list2.map(//list2 also is a dummy list of String I created for demonstration
                          (listElement) => Text(//return your own widget instead of this
                            listElement,
                            style: TextStyle(
                                fontSize: 40, color: Colors.cyanAccent),
                          ),
                        ),
                      ),
              ),
            ),
          ],
        ),
      ),