TextWidget constructor

TextWidget(
  1. String text, {
  2. Key? key,
  3. double? width,
  4. double? height,
  5. Color? color,
  6. Alignment? alignment,
  7. double? fontSize,
  8. EdgeInsetsGeometry? margin,
  9. EdgeInsetsGeometry? padding,
  10. Decoration? decoration,
  11. Map<AxisDirection, Widget>? icon,
  12. Map<AxisDirection, double>? iconMargin,
  13. Function? onClick,
})

Implementation

TextWidget(this.text, {Key? key, this.width, this.height, this.color, this.alignment, this.fontSize, this.margin, this.padding, this.decoration, this.icon, this.iconMargin, this.onClick}) : super(key: key);