Это набор плитки расширения. Здесь я хочу деформировать плитку расширения внутри контейнера, чтобы я мог придать плитке границу, форму и тень. Также я хочу, чтобы расширенный результат был таким же, как этот. Как я могу этого добиться. Помогите, пожалуйста
Я пробовал приведенный ниже образец. Но когда я раскрываюсь, я получаю ошибку переполнения рендера.
Container(
height: 80,
width: MediaQuery.of(context).size.width - 10,
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(10.0)),
color: Colors.white,
boxShadow: [
BoxShadow(
color: Theme.of(context).hintColor.withOpacity(0.2),
spreadRadius: 2,
blurRadius: 5)
],
),
child:
ExpansionTile(
backgroundColor: Colors.white,
trailing: Icon(Icons.arrow_forward_ios_rounded),
initiallyExpanded: false,
title: Text(
'Messages',
style: Theme.of(context)
.textTheme
.subtitle),
children: List.generate(
3, (indexProduct) {
return Text("terwyteuwte");
}),
)
),
пожалуйста, помогите мне..