OrientationLayout constructor

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

Implementation

const OrientationLayout({
  Key? key,
  this.landscape,
  required this.portrait,
}) : super(key: key);