RenderTableBox constructor

RenderTableBox({
  1. Size spacing = Size.zero,
  2. bool fixed = false,
  3. double? width,
  4. double? widthFactor,
  5. double? minWidth,
  6. double? maxWidth,
  7. double? height,
  8. List<StickyRows> sticky = const [],
  9. List<ViewportOffset> scrolls = const [],
  10. TextDirection textDirection = TextDirection.ltr,
  11. List<RenderBox>? children,
})

Implementation

RenderTableBox({
  Size spacing = Size.zero,
  bool fixed = false,
  double? width,
  double? widthFactor,
  double? minWidth,
  double? maxWidth,
  double? height,
  List<StickyRows> sticky = const [],
  List<ViewportOffset> scrolls = const [],
  TextDirection textDirection = TextDirection.ltr,
  List<RenderBox>? children,
}) : _sticky = sticky,
     _spacing = spacing,
     _textDirection = textDirection,
     _fixed = fixed,
     _width = width,
     _widthFactor = widthFactor,
     _minWidth = minWidth,
     _maxWidth = maxWidth,
     _height = height {
  this.scrolls = scrolls;
  addAll(children);
}