calculateFrameSize method

Size calculateFrameSize(
  1. Size screenSize
)

Implementation

Size calculateFrameSize(Size screenSize) {
  return Size(
    screenSize.width +
        innerBodyInsets.horizontal +
        screenInsets.horizontal +
        buttonWidth,
    screenSize.height +
        innerBodyInsets.vertical +
        screenInsets.vertical +
        buttonWidth,
  );
}