
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
3번째 페이지 코드를 만들었을 때
body: Column(
children: [
Stack(
children: [
Container(
width: double.infinity,
height: 180,
color: Colors.purple[900],
),
ElevatedButton(
onPressed: () {},
child: Text(
'국가 및 도시별 차트',
style: TextStyle(
color: Colors.purple[900],
fontWeight: FontWeight.bold,
),
),
),
Padding(
padding: const EdgeInsets.only(top: 95, left: 185),
child: Text(
'전 세계',
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,
),
),
),
],
),
SizedBox(height: 10),
Stack(
children: [
Container(
width: double.infinity,
height: 190,
color: Colors.white,
),
Padding(
padding: const EdgeInsets.all(8.0),
child: Column(
children: [
Row(
children: [
Text(
'대한민국 차트',
style: TextStyle(fontSize: 18),
),
Spacer(),
Text(
'모두 보기',
style: TextStyle(fontSize: 16, color: Colors.blue),
)
],
),
SizedBox(height: 10),
],
),
),
],
)
],
),
여기까지 접근을 할 수가 있었습니다. 그 이후에 ListView.Builder 방식을 사용을 하려고 하는데 제가 본 그 전 리스트 형태와 달라서 접근을 어떻게 하면 좋을 지 모르겠습니다.
