flutter get size of actionbar code example
Example 1: flutter how to find the appbar size
var height = AppBar().preferredSize.height;
Example 2: get app bar size
MediaQuery.of(context).padding.top + kToolbarHeight
var height = AppBar().preferredSize.height;
MediaQuery.of(context).padding.top + kToolbarHeight