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(
|
||||
Container(
|
||||
height: 75,
|
||||
width: MediaQuery.of(context).size.width,
|
||||
margin: EdgeInsets.fromLTRB(0, 0, 0, 2),
|
||||
padding: EdgeInsets.all(10.0),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white70,
|
||||
border: Border(bottom: BorderSide(color: Colors.grey, width: 2))),
|
||||
child: IconButton(
|
||||
icon: Icon(
|
||||
GestureDetector(
|
||||
onTap: _addServerForm,
|
||||
child: Container(
|
||||
height: 75,
|
||||
width: MediaQuery.of(context).size.width,
|
||||
margin: EdgeInsets.fromLTRB(0, 0, 0, 2),
|
||||
padding: EdgeInsets.all(10.0),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white70,
|
||||
border: Border(bottom: BorderSide(color: Colors.grey, width: 2))),
|
||||
child: Icon(
|
||||
Icons.add,
|
||||
size: 42,
|
||||
color: Colors.black,
|
||||
),
|
||||
onPressed: _addServerForm,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue