AM
Size: a a a
AM
m
Д
Д
Д
Column(
children: [
Container(
height: 80,
color: Colors.orange,
child: Center(
child: Text('Всегда тут и не скроллится'),
),
),
Expanded(
child: Container(
color: Colors.white,
child: Center(
child: Text('Spacer для придавливания listview к низу экрана'),
),
),
),
Container(
color: Colors.green,
child: ListView.builder(
shrinkWrap: true,
itemCount: 10,
itemBuilder: (context, index) => ListTile(
title: Card(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Text('Тайл №$index'),
),
),
),
),
)
],
)
i
MN
AM
MN
m
Column(
children: [
Container(
height: 80,
color: Colors.orange,
child: Center(
child: Text('Всегда тут и не скроллится'),
),
),
Expanded(
child: Container(
color: Colors.white,
child: Center(
child: Text('Spacer для придавливания listview к низу экрана'),
),
),
),
Container(
color: Colors.green,
child: ListView.builder(
shrinkWrap: true,
itemCount: 10,
itemBuilder: (context, index) => ListTile(
title: Card(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Text('Тайл №$index'),
),
),
),
),
)
],
)
MN
m
MN
m
MN
m
MN
Д
Column(
children: [
Container(
height: 80,
color: Colors.orange,
child: Center(
child: Text('Всегда тут и не скроллится'),
),
),
Expanded(
child: Container(
color: Colors.white,
child: Center(
child: Text('Spacer для придавливания listview к низу экрана'),
),
),
),
Container(
color: Colors.green,
child: ListView.builder(
shrinkWrap: true,
itemCount: 10,
itemBuilder: (context, index) => ListTile(
title: Card(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Text('Тайл №$index'),
),
),
),
),
)
],
)
AM
MN