From 7606f6ec1256a5ff5d1e6095cb7cfb94dde5bb27 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Sun, 15 Sep 2019 00:20:46 +0800 Subject: [PATCH] fix: contributions initial position --- lib/screens/user.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/screens/user.dart b/lib/screens/user.dart index 98d8b30..69d62f8 100644 --- a/lib/screens/user.dart +++ b/lib/screens/user.dart @@ -97,7 +97,7 @@ class UserScreen extends StatelessWidget { } Widget _buildContributions(List contributions) { - var row = Row( + final row = Row( children: [], crossAxisAlignment: CrossAxisAlignment.start, ); @@ -128,6 +128,7 @@ class UserScreen extends StatelessWidget { padding: EdgeInsets.all(10), child: SingleChildScrollView( scrollDirection: Axis.horizontal, + reverse: true, child: row, ), );