PE
сделать две перегрузки t метода с разными типами (ну норм варик)
сделать общий класс и там унаследовать и реализовать что нужно
Size: a a a
PE
PE
PE
PE
DS
DS
PE
DS
ВК
DS
DS
AG
DS
ВК
ВК
N
@override
Widget build(BuildContext context) {
return FutureBuilder(
future: items,
builder: (context, snapshot) {
print("BLA BLA BLA BLA");
// operation for completed state
if (!snapshot.hasData) {
return Center(child: SpinnerWidget(),);
} else {
return Container(
height: 400.0,
child: ListView.builder(
shrinkWrap: true,
scrollDirection: Axis.horizontal,
itemCount: snapshot.data.length,
itemBuilder: (context, index) {
var item = snapshot.data[index];
return Container(child: Text(item.title));
}),
);
}
},
);
}
DS
N
ВК