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