updateAppBarInfo method

void updateAppBarInfo(
  1. BuildContext context
)

Implementation

void updateAppBarInfo(BuildContext context) {
  double appBarExpandExtent = _appBarController?.appBarExpandExtent ?? 0;
  double bottomBarExpandExtent =
      _appBarController?.bottomBarExpandExtent ?? 0;

  firstPadding =
      !_widgetIsReverse ? appBarExpandExtent : bottomBarExpandExtent;
  lastPadding =
      !_widgetIsReverse ? bottomBarExpandExtent : appBarExpandExtent;
}