@@ -84,13 +84,13 @@ class _OtherProjectsState extends State<OtherProjects> {
84
84
scrollDirection: Axis .horizontal,
85
85
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount (
86
86
crossAxisCount: 2 ,
87
- childAspectRatio: CommonFunction .isApp (context) ? .7 : .6 ,
87
+ childAspectRatio: CommonFunction .isApp (context) ? .75 : .6 ,
88
88
),
89
89
itemBuilder: (context, index) {
90
90
return Padding (
91
91
padding: EdgeInsets .only (
92
92
right: CommonFunction .isApp (context) ? 16 : 32 ,
93
- bottom: CommonFunction .isApp (context) ? 48 : 32 ,
93
+ bottom: CommonFunction .isApp (context) ? 24 : 32 ,
94
94
),
95
95
child: Card (
96
96
color: Constants .lightNavy,
@@ -109,20 +109,16 @@ class _OtherProjectsState extends State<OtherProjects> {
109
109
height: 48 ,
110
110
),
111
111
InkWell (
112
- onTap: _link[index] != null &&
113
- _link[index].trim ().isNotEmpty
112
+ onTap: _link[index] != null && _link[index].trim ().isNotEmpty
114
113
? () {
115
- CommonFunction .openFromUrl (
116
- _link[index]);
114
+ CommonFunction .openFromUrl (_link[index]);
117
115
}
118
116
: null ,
119
117
hoverColor: Colors .transparent,
120
118
child: Image .asset (
121
119
'asset/github_dark.png' ,
122
- width:
123
- CommonFunction .isApp (context) ? 24 : 16 ,
124
- height:
125
- CommonFunction .isApp (context) ? 24 : 16 ,
120
+ width: CommonFunction .isApp (context) ? 24 : 16 ,
121
+ height: CommonFunction .isApp (context) ? 24 : 16 ,
126
122
),
127
123
),
128
124
],
0 commit comments