remove itemcount
Godwin Asuquo committed
Jan 31, 2022 at 15:44 UTC
fb7e3662e2a90e24abc84c03b8d9d1d3b59ef991
1 file changed
+2
-2
lib/src/screens/exchange/exchange_page.dart
+2
-2
@@ -391,7 +391,7 @@ class ExchangePage extends BasePage {
391
child: Observer(
392
builder: (_) {
393
final templates = exchangeViewModel.templates;
394
- final itemCount = templates.length;
394
+
395
return Row(
396
children: <Widget>[
397
GestureDetector(
@@ -443,7 +443,7 @@ class ExchangePage extends BasePage {
443
scrollDirection: Axis.horizontal,
444
shrinkWrap: true,
445
physics: NeverScrollableScrollPhysics(),
446
- itemCount: itemCount,
446
+ itemCount: templates.length,
447
itemBuilder: (context, index) {
448
final template = templates[index];
449