File tree 1 file changed +20
-20
lines changed
1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ class CharacteristicTile extends StatelessWidget {
210
210
title: new ListTile (
211
211
title: title,
212
212
subtitle: new Text (characteristic.value.toString ()),
213
+ contentPadding: EdgeInsets .all (0.0 ),
213
214
),
214
215
trailing: actions,
215
216
children: descriptorTiles,
@@ -249,27 +250,26 @@ class DescriptorTile extends StatelessWidget {
249
250
],
250
251
);
251
252
return new ListTile (
252
- title: new ListTile (
253
- title: title,
254
- subtitle: new Text (descriptor.value.toString ()),
255
- trailing: new Row (
256
- children: < Widget > [
257
- new IconButton (
258
- icon: new Icon (
259
- Icons .file_download,
260
- color: Theme .of (context).iconTheme.color.withOpacity (0.5 ),
261
- ),
262
- onPressed: onReadPressed,
253
+ title: title,
254
+ subtitle: new Text (descriptor.value.toString ()),
255
+ trailing: new Row (
256
+ mainAxisSize: MainAxisSize .min,
257
+ children: < Widget > [
258
+ new IconButton (
259
+ icon: new Icon (
260
+ Icons .file_download,
261
+ color: Theme .of (context).iconTheme.color.withOpacity (0.5 ),
263
262
),
264
- new IconButton (
265
- icon: new Icon (
266
- Icons .file_upload,
267
- color: Theme .of (context).iconTheme.color.withOpacity (0.5 ),
268
- ),
269
- onPressed: onWritePressed,
270
- )
271
- ],
272
- ),
263
+ onPressed: onReadPressed,
264
+ ),
265
+ new IconButton (
266
+ icon: new Icon (
267
+ Icons .file_upload,
268
+ color: Theme .of (context).iconTheme.color.withOpacity (0.5 ),
269
+ ),
270
+ onPressed: onWritePressed,
271
+ )
272
+ ],
273
273
),
274
274
);
275
275
}
You can’t perform that action at this time.
0 commit comments