
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
Text에 빨간 줄이 생기면서 적용이 안됩니다 ㅠㅠ

body: Column(
children: [
Padding(
padding: const EdgeInsets.all(8.0),
child: TextField(
decoration: InputDecoration(
hintText: "영화 제목을 검색해주세요.",
border: OutlineInputBorder(
borderSide: BorderSide(color: Colors.black)),
suffixIcon:
IconButton(onPressed: () {}, icon: Icon(Icons.search))),
),
),
Expanded(
child: ListView.builder(
itemCount: dataList.length,
itemBuilder: (context, index) {
String category = dataList[index]["category"];
String imgUrl = dataList[index]["imgUrl"];
return Card(
child: Stack(
children: [
Image.network(
imgUrl,
height: 200,
width: double.infinity,
fit: BoxFit.cover,
)
Text(category)
],
),
);
},
)),
],
),
);
}
}
