NrbHeaderCell constructor

const NrbHeaderCell({
  1. Key? key,
  2. required String text,
  3. int colSpan = 1,
  4. int rowSpan = 1,
  5. Color backgroundColor = const Color(0xff04b935),
  6. Color foregroundColor = Colors.white,
  7. Color borderColor = Colors.white10,
  8. double textSize = 12,
  9. AlignmentGeometry textAlignment = Alignment.center,
  10. TextStyle? textStyle,
})

Creates an NrbHeaderCell with row and column spanning capabilities.

Implementation

const NrbHeaderCell({
  super.key,
  required this.text,
  this.colSpan = 1,
  this.rowSpan = 1,
  this.backgroundColor = const Color(0xff04b935),
  this.foregroundColor = Colors.white,
  this.borderColor = Colors.white10,
  this.textSize = 12,
  this.textAlignment = Alignment.center,
  this.textStyle,
});