padding
This commit is contained in:
parent
e367a33fc8
commit
0388e51299
@ -212,7 +212,9 @@ class _HomePageState extends State<HomePage> {
|
||||
final cards = <Widget>[];
|
||||
var peers = FFI.peers();
|
||||
peers.forEach((p) {
|
||||
cards.add(Card(
|
||||
cards.add(Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 12),
|
||||
child: Card(
|
||||
child: GestureDetector(
|
||||
onTap: () => connect('${p.id}'),
|
||||
onLongPressStart: (details) {
|
||||
@ -240,7 +242,7 @@ class _HomePageState extends State<HomePage> {
|
||||
padding: const EdgeInsets.all(6),
|
||||
child: getPlatformImage('${p.platform}'),
|
||||
color: str2color('${p.id}${p.platform}', 0x77)),
|
||||
))));
|
||||
)))));
|
||||
});
|
||||
return Wrap(children: cards);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user