finalHeight method

  1. @visibleForTesting
double finalHeight(
  1. BuildContext context
)

Determines the height of this app bar based on its height and the top padding from the system.

Implementation

@visibleForTesting
double finalHeight(BuildContext context) {
  assert(debugCheckHasMediaQuery(context));
  final topPadding = MediaQuery.paddingOf(context).top;
  return height + topPadding;
}