@@ -26,6 +26,7 @@ class TeamSection extends StatelessWidget {
26
26
prototypeItem: _TeamMemberCard (member: members.first),
27
27
cacheExtent: 1300 ,
28
28
itemBuilder: (BuildContext ctx, int index) {
29
+ // return Container();
29
30
return _TeamMemberCard (member: members[index]);
30
31
},
31
32
),
@@ -39,31 +40,34 @@ class _TeamMemberCard extends StatelessWidget {
39
40
40
41
@override
41
42
Widget build (BuildContext context) {
42
- return Padding (
43
- padding: const EdgeInsets .only (bottom: 8 ),
44
- child: Container (
45
- width: double .infinity,
46
- clipBehavior: Clip .antiAlias,
47
- decoration: BoxDecoration (
48
- color: context.colorTheme.greyLight,
49
- borderRadius: BorderRadius .circular (AboutUsConfig .borderRadius),
50
- ),
51
- child: Row (
52
- crossAxisAlignment: CrossAxisAlignment .stretch,
53
- children: [
54
- SizedBox .square (
55
- dimension: AboutUsConfig .photoSize,
56
- child: OptimizedDirectusImage (member.directusImageUrl),
57
- ),
58
- const SizedBox (
59
- width: 14 ,
60
- ),
61
- _Description (
62
- name: member.name ?? "" ,
63
- subtitle: member.subtitle ?? "" ,
64
- links: member.links,
65
- ),
66
- ],
43
+ return SizedBox (
44
+ height: WideTileCardConfig .imageSize,
45
+ child: Padding (
46
+ padding: const EdgeInsets .only (bottom: 8 ),
47
+ child: Container (
48
+ width: double .infinity,
49
+ clipBehavior: Clip .antiAlias,
50
+ decoration: BoxDecoration (
51
+ color: context.colorTheme.greyLight,
52
+ borderRadius: BorderRadius .circular (AboutUsConfig .borderRadius),
53
+ ),
54
+ child: Row (
55
+ crossAxisAlignment: CrossAxisAlignment .stretch,
56
+ children: [
57
+ SizedBox .square (
58
+ dimension: AboutUsConfig .photoSize,
59
+ child: OptimizedDirectusImage (member.directusImageUrl),
60
+ ),
61
+ const SizedBox (
62
+ width: 14 ,
63
+ ),
64
+ _Description (
65
+ name: member.name ?? "" ,
66
+ subtitle: member.subtitle ?? "" ,
67
+ links: member.links,
68
+ ),
69
+ ],
70
+ ),
67
71
),
68
72
),
69
73
);
0 commit comments