TTextWithIcon constructor

const TTextWithIcon({
  1. Key? key,
  2. IconData icon = Iconsax.add,
  3. required String text,
  4. Color? color,
  5. Color? backgroundColor,
  6. TextStyle? textStyle,
})

Implementation

const TTextWithIcon({
  super.key,
  this.icon = Iconsax.add,
  required this.text,
  this.color,
  this.backgroundColor,
  this.textStyle,
});