buildBackPanelPortrait method Null safety

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

Implementation

@override
Widget buildBackPanelPortrait(
        BuildContext context, final ScreenPositioner screen) =>
    Stack(fit: StackFit.expand, children: [
      Container(color: MainScreen.keyboardBaseColor),
      screen.box(Rect.fromLTWH(screen.width - 0.8, 0.0, 0.8, 0.8),
          const Icon(Icons.arrow_back, color: Colors.white)),
      screen.box(
          const Rect.fromLTWH(0.1, 0.1, 5.03 * 0.7, 1.98 * 0.7),
          Image.asset(
              'packages/jrpn/assets/NAFO_OFAN_brain_damaged_cartoon_dogs.jpeg')),
      screen.box(const Rect.fromLTWH(4.15, -.7, .75, 3), tryzub(1)),
      screen.box(
          const Rect.fromLTWH(1.175, 1.8, 5.65, 6.5), operationTable(5.65)),
      screen.box(const Rect.fromLTWH(0.45, 8.5, 4.97, 4), errorTable(4.97)),
      screen.box(const Rect.fromLTWH(6.0, 8.5, 1.57, 3), flagTable(1.57)),
    ]);