recalculateTotalHeight method
void
recalculateTotalHeight()
Implementation
void recalculateTotalHeight() {
if (toolbarHeight != null) {
totalHeight.value = toolbarHeight! + _contentHeight;
} else {
totalHeight.value = _contentHeight + verticalPadding;
}
notifyListeners();
}