safeAreaTop static method

double safeAreaTop(
  1. BuildContext context
)

Implementation

static double safeAreaTop(BuildContext context){
  return MediaQuery.of(context).padding.top;
}