TextWidget constructor

const TextWidget({
  1. Key? key,
  2. required String title,
  3. required double txtSize,
  4. required Color txtColor,
})

Creates a TextWidget with the given title, txtSize, and txtColor.

Implementation

const TextWidget({
  super.key,
  required this.title,
  required this.txtSize,
  required this.txtColor,
});