TwoPane constructor

const TwoPane({
  1. Key? key,
  2. required Widget startPane,
  3. required Widget endPane,
  4. double paneProportion = 0.5,
  5. TextDirection? textDirection,
  6. VerticalDirection verticalDirection = VerticalDirection.down,
  7. Axis direction = Axis.horizontal,
  8. TwoPanePriority panePriority = TwoPanePriority.both,
  9. EdgeInsets padding = EdgeInsets.zero,
  10. Set<TwoPaneAllowedOverrides> allowedOverrides = const {TwoPaneAllowedOverrides.paneProportion, TwoPaneAllowedOverrides.direction, TwoPaneAllowedOverrides.panePriority},
})

Create a layout that shows two pane widgets side by side.

Implementation

const TwoPane({
  Key? key,
  required this.startPane,
  required this.endPane,
  this.paneProportion = 0.5,
  this.textDirection,
  this.verticalDirection = VerticalDirection.down,
  this.direction = Axis.horizontal,
  this.panePriority = TwoPanePriority.both,
  this.padding = EdgeInsets.zero,
  this.allowedOverrides = const {
    TwoPaneAllowedOverrides.paneProportion,
    TwoPaneAllowedOverrides.direction,
    TwoPaneAllowedOverrides.panePriority,
  },
}) : super(key: key);