ZwapButtonChild.text constructor
ZwapButtonChild.text({
- required String text,
- int fontSize = 14,
- FontWeight fontWeight = FontWeight.w400,
Implementation
ZwapButtonChild.text({
required String text,
this.fontSize = 14,
this.fontWeight = FontWeight.w400,
}) : this.text = text,
this.icon = null,
this.iconSize = 24,
this.spaceBetween = 0,
this.iconPosition = ZwapButtonIconPosition.left,
this._customIcon = null;