AdaptiveLayout constructor

const AdaptiveLayout({
  1. Key? key,
  2. SlotLayout? topNavigation,
  3. SlotLayout? primaryNavigation,
  4. SlotLayout? secondaryNavigation,
  5. SlotLayout? bottomNavigation,
  6. SlotLayout? body,
  7. SlotLayout? secondaryBody,
  8. double? bodyRatio,
  9. Duration transitionDuration = const Duration(seconds: 1),
  10. bool internalAnimations = true,
  11. Axis bodyOrientation = Axis.horizontal,
})

Creates a const AdaptiveLayout widget.

Implementation

const AdaptiveLayout({
  super.key,
  this.topNavigation,
  this.primaryNavigation,
  this.secondaryNavigation,
  this.bottomNavigation,
  this.body,
  this.secondaryBody,
  this.bodyRatio,
  this.transitionDuration = const Duration(seconds: 1),
  this.internalAnimations = true,
  this.bodyOrientation = Axis.horizontal,
});