Made the whole addServer button a button #24
1 changed files with 11 additions and 11 deletions
|
@ -364,21 +364,21 @@ class _ServerListState extends State<ServerList> {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
list.add(
|
list.add(
|
||||||
Container(
|
GestureDetector(
|
||||||
height: 75,
|
onTap: _addServerForm,
|
||||||
width: MediaQuery.of(context).size.width,
|
child: Container(
|
||||||
margin: EdgeInsets.fromLTRB(0, 0, 0, 2),
|
height: 75,
|
||||||
padding: EdgeInsets.all(10.0),
|
width: MediaQuery.of(context).size.width,
|
||||||
decoration: BoxDecoration(
|
margin: EdgeInsets.fromLTRB(0, 0, 0, 2),
|
||||||
color: Colors.white70,
|
padding: EdgeInsets.all(10.0),
|
||||||
border: Border(bottom: BorderSide(color: Colors.grey, width: 2))),
|
decoration: BoxDecoration(
|
||||||
child: IconButton(
|
color: Colors.white70,
|
||||||
icon: Icon(
|
border: Border(bottom: BorderSide(color: Colors.grey, width: 2))),
|
||||||
|
child: Icon(
|
||||||
Icons.add,
|
Icons.add,
|
||||||
size: 42,
|
size: 42,
|
||||||
color: Colors.black,
|
color: Colors.black,
|
||||||
),
|
),
|
||||||
onPressed: _addServerForm,
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue