getHeight static method

double getHeight(
  1. BuildContext context
)

Implementation

static double getHeight( BuildContext context ) {

  try {

    if( paddingBottom != null ) return paddingBottom!;

    paddingBottom =  MediaQuery.of(context).viewPadding.bottom;
    //var result =  MediaQuery.of(context).padding.bottom;
  //  Log.i( "NotchBarConstant - getHeight() - result: $r2 ");
    return paddingBottom!;
  }  catch (err) {
    LogDebug.e( "NotchBarConstant - getHeight() - err: $err ");
    return 65;
  }

}