TextIcon constructor

TextIcon({
  1. String? text,
  2. TextStyle? textStyle,
  3. Widget? prefix,
  4. Widget? suffix,
  5. int spacing = 4,
  6. int? maxLine,
  7. Function? onTap,
  8. EdgeInsets? edgeInsets,
  9. bool expandedText = false,
  10. bool useMarquee = false,
  11. BoxDecoration? boxDecoration,
  12. Key? key,
})

Implementation

TextIcon({
  this.text,
  this.textStyle,
  this.prefix,
  this.suffix,
  this.spacing = 4,
  this.maxLine,
  this.onTap,
  this.edgeInsets,
  this.expandedText = false,
  this.useMarquee = false,
  this.boxDecoration,
  super.key,
});