onScreenSizeChanged method
Implementation
void onScreenSizeChanged(Size screenSize) {
if (screenSize.shortestSide == state.screenSize.shortestSide) return;
emit(state.copyWith(screenSize: screenSize));
}
void onScreenSizeChanged(Size screenSize) {
if (screenSize.shortestSide == state.screenSize.shortestSide) return;
emit(state.copyWith(screenSize: screenSize));
}