У меня есть DefaultTabController, в котором я использовал Столбец с TabBarView, но мне нужно его прокрутить ....
Я пытался использовать ListView, но он не работал ... Этоэто код, который работает со столбцом, но он не прокручивается и текст не помещается на странице ... поэтому мне нужно прокрутить
return Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(
title: Text('Invitatorio '+lesson.nombre), backgroundColor: Colors.brown[300]),
body: DefaultTabController(
length: invitatoriosPrueba.length,
child: Column(
children: <Widget>[
Container(
child: TabPageSelector(selectedColor: Colors.brown[300]),
padding: EdgeInsets.all(10),
),
Container(
margin: EdgeInsets.only(left: 40, right: 40),
child: Divider(color: Colors.brown)),
Container(
padding: const EdgeInsets.only(
top: 20.0, bottom: 10.0, left: 30.0, right: 30.0),
child: Text(
'Invitatorio',
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.redAccent,
fontWeight: FontWeight.bold),
)),
Container(
padding: const EdgeInsets.only(
left: 15, right: 15, bottom: 15, top: 0),
child: Text.rich(TextSpan(children: <TextSpan>[
TextSpan(
text: 'Ant. ',
style: TextStyle(
color: Colors.red, fontWeight: FontWeight.bold)),
TextSpan(
text: lesson.invitatorioAnt,
style: TextStyle(
color: Colors.black,
),
),
])),
),
Container(
child: Expanded(
child: TabBarView(children: invitatoriosPrueba),
),
)
],
),
),
);
}}