HeaderCell constructor

const HeaderCell({
  1. Key? key,
  2. required String text,
  3. int span = 1,
  4. Color backgroundColor = const Color(0xff04b935),
  5. Color foregroundColor = Colors.white,
  6. Color borderColor = Colors.white10,
  7. double width = 100,
  8. double height = 30,
  9. double textSize = 12,
  10. AlignmentGeometry textAlignment = Alignment.center,
})

Implementation

const HeaderCell({
  super.key,
  required this.text,
  this.span = 1,
  this.backgroundColor = const Color(0xff04b935),
  this.foregroundColor = Colors.white,
  this.borderColor = Colors.white10,
  this.width = 100,
  this.height = 30,
  this.textSize = 12,
  this.textAlignment = Alignment.center,
});