flexibleSpaceBarExpandedHeight function

double flexibleSpaceBarExpandedHeight(
  1. BuildContext context, {
  2. int mobile = 5,
  3. int tablet = 4,
})

Gets the expanded height of the FlexibleSpaceBar based on the current screen type and the specified mobile and tablet values.

Implementation

double flexibleSpaceBarExpandedHeight(BuildContext context,
        {int mobile = 5, int tablet = 4}) =>
    screenHeightFraction(context,
        dividedBy: getValueForScreenType(
          context: context,
          mobile: mobile,
          tablet: tablet,
        ));