ZegoTextIconButton constructor

const ZegoTextIconButton({
  1. Key? key,
  2. String? text,
  3. TextStyle? textStyle,
  4. bool? softWrap,
  5. ButtonIcon? icon,
  6. double? iconTextSpacing,
  7. Size? iconSize,
  8. Color? iconBorderColor,
  9. Size? buttonSize,
  10. double? borderRadius,
  11. EdgeInsetsGeometry? margin,
  12. EdgeInsetsGeometry? padding,
  13. VoidCallback? onPressed,
  14. Color? clickableTextColor = Colors.black,
  15. Color? unclickableTextColor = Colors.black,
  16. Color? clickableBackgroundColor = Colors.transparent,
  17. Color? unclickableBackgroundColor = Colors.transparent,
  18. bool verticalLayout = true,
})

Implementation

const ZegoTextIconButton({
  Key? key,
  this.text,
  this.textStyle,
  this.softWrap,
  this.icon,
  this.iconTextSpacing,
  this.iconSize,
  this.iconBorderColor,
  this.buttonSize,
  this.borderRadius,
  this.margin,
  this.padding,
  this.onPressed,
  this.clickableTextColor = Colors.black,
  this.unclickableTextColor = Colors.black,
  this.clickableBackgroundColor = Colors.transparent,
  this.unclickableBackgroundColor = Colors.transparent,
  this.verticalLayout = true,
}) : super(key: key);