UFUTextButton constructor
const
UFUTextButton({
- String? text,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- Color? highlightColor,
- IconData? icon,
- UFUPosition? iconPosition = UFUPosition.end,
- UFUFontWeight? fontWeight,
- Color? color,
- double padding = 5,
- EdgeInsets? paddingInsets,
- UFUTextSize? textSize = UFUTextSize.heading3,
- TextDecoration? textDecoration,
- Color? decorationColor,
- double? iconSize = 16,
- bool isExpanded = false,
- bool isDisabled = false,
- Key? key,
Implementation
const UFUTextButton({
this.text,
this.onPressed,
this.onLongPress,
this.highlightColor,
this.icon,
this.iconPosition = UFUPosition.end,
// this.fontFamily,
this.fontWeight,
this.color,
this.padding = 5,
this.paddingInsets,
this.textSize = UFUTextSize.heading3,
this.textDecoration,
this.decorationColor,
this.iconSize = 16,
this.isExpanded = false,
this.isDisabled = false,
super.key,
});