File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ class _ExpandableTextState extends State<ExpandableText> {
3434 IconButton (
3535 iconSize: iconSize,
3636 onPressed: onPressed,
37+ color: Theme .of (context).accentColor,
3738 icon: const Icon (Icons .keyboard_arrow_up)),
3839 ],
3940 ),
@@ -55,6 +56,7 @@ class _ExpandableTextState extends State<ExpandableText> {
5556 child: IconButton (
5657 iconSize: iconSize,
5758 onPressed: onPressed,
59+ color: Theme .of (context).accentColor,
5860 icon: const Icon (Icons .keyboard_arrow_down)))
5961 ]);
6062 }
Original file line number Diff line number Diff line change @@ -22,14 +22,9 @@ class RepositoryWidget extends StatelessWidget {
2222 "Repositories" ,
2323 style: Theme .of (context).textTheme.headline1,
2424 )),
25- // ignore: sized_box_for_whitespace
26- Container (
27- height: 150 ,
28- child: GridView .builder (
29- gridDelegate: const SliverGridDelegateWithMaxCrossAxisExtent (
30- maxCrossAxisExtent: 200 ,
31- childAspectRatio: 6.5 / 2 ,
32- ),
25+ SizedBox (
26+ height: 400 ,
27+ child: ListView .builder (
3328 itemCount: visibleRepositories.length,
3429 itemBuilder: (BuildContext context, int index) =>
3530 getItemCard (context, visibleRepositories[index])))
@@ -76,6 +71,11 @@ class RepositoryWidget extends StatelessWidget {
7671 title: Text (
7772 extractRepoNameFromURL (repo.url),
7873 ),
74+ subtitle: Text (
75+ repo.description,
76+ maxLines: 1 ,
77+ overflow: TextOverflow .ellipsis,
78+ ),
7979 )),
8080 );
8181 }
You can’t perform that action at this time.
0 commit comments