TwoPane constructor
const
TwoPane({
- Key? key,
- required Widget startPane,
- required Widget endPane,
- double paneProportion = 0.5,
- TextDirection? textDirection,
- VerticalDirection verticalDirection = VerticalDirection.down,
- Axis direction = Axis.horizontal,
- TwoPanePriority panePriority = TwoPanePriority.both,
- EdgeInsets padding = EdgeInsets.zero,
- 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);