buildLandscape method Null safety

  1. @override
Widget buildLandscape(
  1. BuildContext context,
  2. ScreenPositioner screen
)
override

Implementation

@override
Widget buildLandscape(BuildContext context, final ScreenPositioner screen) {
  return GestureDetector(
      onTap: () => Navigator.pop(context),
      child: Container(
          alignment: Alignment.center,
          color: MainScreen.deadZoneColor,
          child: AspectRatio(
              aspectRatio: screen.width / screen.height,
              child: buildBackPanelLandscape(context, screen))));
}