AppTableCell constructor

AppTableCell({
  1. required WidgetBuilder builder,
  2. double height = 40,
  3. Color backgroundColor = const Color(0xFFFFFFFF),
  4. Color? selectRowColor,
  5. AlignmentGeometry alignment = Alignment.center,
  6. EdgeInsets padding = const EdgeInsets.all(0),
})

默认初始化 builder 自定义绘制Cell组件 height 单元格的高度 backgroundColor 单元格的背景颜色 selectRowColor 单元格选中时的背景颜色

Implementation

AppTableCell({
  required this.builder,
  this.height = 40,
  this.backgroundColor = const Color(0xFFFFFFFF),
  this.selectRowColor,
  this.alignment = Alignment.center,
  this.padding = const EdgeInsets.all(0),
});