I have a Flutter table that is currently being rendered in the Appbar title as follows:
My question is how to make the table take the maximum width and height of the AppBar?
The codes for defining the table in the Appbar is as follows:
Scaffold(
appBar: AppBar(
title: Table(
border: TableBorder.all(),
children: [
TableRow(
children: <Widget>[
TableCell(
verticalAlignment: TableCellVerticalAlignment.middle,
child: Center(child: Text("GPS"),),
),
TableCell(
verticalAlignment: TableCellVerticalAlignment.middle,
child: Center(child: Text("GPS"),),
),
TableCell(
verticalAlignment: TableCellVerticalAlignment.middle,
child: Center(child: Text("GPS"),),
),
TableCell(
verticalAlignment: TableCellVerticalAlignment.middle,
child: Center(child: Text("GPS"),),
)
],
)
],
),
))
Below is what I want to achieve:



