ZegoTextIconButton constructor
const
ZegoTextIconButton({
- Key? key,
- String? text,
- TextStyle? textStyle,
- bool? softWrap,
- ButtonIcon? icon,
- double? iconTextSpacing,
- Size? iconSize,
- Color? iconBorderColor,
- Size? buttonSize,
- double? borderRadius,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- VoidCallback? onPressed,
- Color? clickableTextColor = Colors.black,
- Color? unclickableTextColor = Colors.black,
- Color? clickableBackgroundColor = Colors.transparent,
- Color? unclickableBackgroundColor = Colors.transparent,
- 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);