LeftRightContainer constructor

const LeftRightContainer({
  1. Key? key,
  2. double spacing = 0,
  3. double arrowTopPosition = 0,
  4. required double fixedSizeWidth,
  5. required double minSideWidth,
  6. required Widget end,
  7. required Widget start,
  8. double? minHeight,
  9. FixedSide fixedSide = FixedSide.start,
  10. bool initiallyCollapsed = false,
  11. bool hideArrowIfTwoSidesVisible = false,
  12. bool showVerticalDivider = true,
  13. bool autoShowTwoSidesIfPossible = false,
  14. Color arrowButtonBackgroundColor = Colors.white,
  15. Color arrowIconColor = Colors.black,
  16. Color? startBackgroundColor,
  17. Color? endBackgroundColor,
  18. Color? backgroundColor,
  19. EdgeInsets startPadding = const EdgeInsets.all(10),
  20. EdgeInsets endPadding = const EdgeInsets.all(0),
  21. 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,
});