Я попытался добавить RaisedButton
над ListView
. Я использовал Colum
, но получил ошибку. Кто-нибудь может сказать мне, в чем моя ошибка? Заранее спасибо!
body: Column(
children: <Widget>[
RaisedButton(
child: Text("Test"),
onPressed: null,
),
ListView.builder(
itemCount: exercises.length,
itemBuilder: (context, i) {
return Container(
child: Text(
exercises[i]["text"],
),
);
},
),
],
),