LeftRightContainer constructor
const
LeftRightContainer({
- Key? key,
- double spacing = 0,
- double arrowTopPosition = 0,
- required double fixedSizeWidth,
- required double minSideWidth,
- required Widget end,
- required Widget start,
- double? minHeight,
- FixedSide fixedSide = FixedSide.start,
- bool initiallyCollapsed = false,
- bool hideArrowIfTwoSidesVisible = false,
- bool showVerticalDivider = true,
- bool autoShowTwoSidesIfPossible = false,
- Color arrowButtonBackgroundColor = Colors.white,
- Color arrowIconColor = Colors.black,
- Color? startBackgroundColor,
- Color? endBackgroundColor,
- Color? backgroundColor,
- EdgeInsets startPadding = const EdgeInsets.all(10),
- EdgeInsets endPadding = const EdgeInsets.all(0),
- TextDirection? textDirection,
Implementation
const LeftRightContainer({
super.key,
this.spacing = 0,
this.arrowTopPosition = 0,
required this.fixedSizeWidth,
required this.minSideWidth,
required this.end,
required this.start,
this.minHeight,
this.fixedSide = FixedSide.start,
this.initiallyCollapsed = false,
this.hideArrowIfTwoSidesVisible = false,
this.showVerticalDivider = true,
this.autoShowTwoSidesIfPossible = false,
this.arrowButtonBackgroundColor = Colors.white,
this.arrowIconColor = Colors.black,
this.startBackgroundColor,
this.endBackgroundColor,
this.backgroundColor,
this.startPadding = const EdgeInsets.all(10),
this.endPadding = const EdgeInsets.all(0),
this.textDirection,
});