paddingTop method
Implementation
double paddingTop({
bool isTopPadding = true,
bool isRightPadding = true,
}) {
final EdgeInsets padding_data = mediaQueryData.padding;
if (orientation == Orientation.portrait) {
if (isTopPadding) {
return padding_data.top;
} else {
return padding_data.bottom;
}
}
if (isRightPadding) {
return padding_data.right;
} else {
return padding_data.left;
}
}