title: Flutter - Padding on AppBar
body: <p>The app I'm developing must be in full screen mode at all times, however, the time/date must also be shown at all times, as well as a certain Hardware ID. We found the following way to present said information:</p>
  <p><a href="https://i.stack.imgur.com/5ugfF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/5ugfF.png" alt="Screenshot of the app with debug paint on" /></a></p>
  <p>However, as you may see above, I marked in red a Padding widget that is always above my AppBar, and we would like to remove that padding. Is such a thing possible?</p>
  <p>Below I have the code for the custom AppBar we're using.</p>
  <pre><code>@override
  Widget build(BuildContext context) {
  return PreferredSize(
    preferredSize: Size.fromHeight(45),
    child: AppBar(
      centerTitle: true,
      title: Column(
        children: &lt;Widget&gt;[
          Text(pageName,
            style: TextStyle(
                fontSize: pageNameFontSize
            ),
          ),
          SizedBox(
            height: 8,
          )
        ],
      ),
      actions: &lt;Widget&gt;[
        Column(
          crossAxisAlignment: CrossAxisAlignment.end,
          children: &lt;Widget&gt;[
            SizedBox(
              height: 6,
            ),
            Row(
              children: &lt;Widget&gt;[
                AppBarClock(
                  style: TextStyle(
                      fontSize: 20
                  ),
                ),
                SizedBox(
                  width: 5,
                )
              ],
            ),
            Row(
              children: &lt;Widget&gt;[
                Text(this.trailText,
                  textAlign: TextAlign.right,
                ),
                SizedBox(
                  width: 5,
                )
              ],
            ),
          ],
        )
      ],
    ),
  );
  </code></pre>
  <p>We are using <em>SystemChrome.setEnabledSystemUIOverlays([]);</em> to make the app full screen.</p>