@@ -139,45 +139,51 @@ class _TorrentScreenState extends State<TorrentScreen> {
139
139
horizontal: 20 , vertical: 20 ),
140
140
hintText: 'Search Torrent' ,
141
141
suffixIcon: Padding (
142
- padding: const EdgeInsets .only (right: 5 ),
142
+ padding:
143
+ const EdgeInsets .only (right: 5 ),
143
144
child: ActionChip (
144
145
padding: EdgeInsets .all (0 ),
145
146
avatar: ClipRRect (
146
- borderRadius: BorderRadius .circular (4 ),
147
- child: Container (
148
- decoration: BoxDecoration (
149
- borderRadius: BorderRadius .circular (0 ),
150
- color: Colors .green,
151
- ),
152
- height: 50 ,
153
- width: 50 ,
154
- child: Icon (
155
- Icons .filter_list_alt,
156
- color: Colors .white,
157
- size: 20 ,
158
- ),
159
- )
160
- ),
161
- label: Text (trackerURISelected == 'all' ||
162
- trackerURISelected == 'null' ||
163
- trackerURISelected == ''
164
- ? '${filterStatus .toString ().split ("." ).last }'
165
- : trackerURISelected.length > 12 ? trackerURISelected.substring (0 , 12 ) + '...' : trackerURISelected,
147
+ borderRadius:
148
+ BorderRadius .circular (4 ),
149
+ child: Container (
150
+ decoration: BoxDecoration (
151
+ borderRadius:
152
+ BorderRadius .circular (0 ),
153
+ color: Colors .green,
154
+ ),
155
+ height: 50 ,
156
+ width: 50 ,
157
+ child: Icon (
158
+ Icons .filter_list_alt,
159
+ color: Colors .white,
160
+ size: 20 ,
161
+ ),
162
+ )),
163
+ label: Text (
164
+ trackerURISelected == 'all' ||
165
+ trackerURISelected ==
166
+ 'null' ||
167
+ trackerURISelected == ''
168
+ ? '${filterStatus .toString ().split ("." ).last }'
169
+ : trackerURISelected.length > 12
170
+ ? trackerURISelected
171
+ .substring (0 , 12 ) +
172
+ '...'
173
+ : trackerURISelected,
166
174
style: TextStyle (
167
175
color: ThemeProvider
168
176
.theme.primaryColorDark,
169
177
fontSize: 15 ,
170
178
fontWeight: FontWeight .normal,
171
- ),),
179
+ ),
180
+ ),
172
181
onPressed: () {
173
182
showModalBottomSheet (
174
183
shape: RoundedRectangleBorder (
175
- borderRadius:
176
- BorderRadius .only (
177
- topRight:
178
- Radius .circular (15 ),
179
- topLeft:
180
- Radius .circular (15 ),
184
+ borderRadius: BorderRadius .only (
185
+ topRight: Radius .circular (15 ),
186
+ topLeft: Radius .circular (15 ),
181
187
),
182
188
),
183
189
isScrollControlled: true ,
@@ -191,7 +197,8 @@ class _TorrentScreenState extends State<TorrentScreen> {
191
197
},
192
198
backgroundColor: Colors .transparent,
193
199
shape: RoundedRectangleBorder (
194
- borderRadius: BorderRadius .circular (5 ),
200
+ borderRadius:
201
+ BorderRadius .circular (5 ),
195
202
side: BorderSide (
196
203
width: 1 ,
197
204
color: Colors .blueGrey,
0 commit comments