ScreenOrientation constructor

const ScreenOrientation({
  1. Key? key,
  2. required Widget landscape,
  3. required Widget portrait,
})

Implementation

const ScreenOrientation(
    {super.key, required this.landscape, required this.portrait});