how to size appbar flutte code example Example: get appbar size flutter var height = AppBar().preferredSize.height;