SubHeaderCell constructor

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

Implementation

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