TextWidget constructor
TextWidget(
- String text, {
- Key? key,
- double? width,
- double? height,
- Color? color,
- Alignment? alignment,
- double? fontSize,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Decoration? decoration,
- Map<
AxisDirection, Widget> ? icon, - Map<
AxisDirection, double> ? iconMargin, - 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);