UFUTextButton constructor

const UFUTextButton({
  1. String? text,
  2. VoidCallback? onPressed,
  3. VoidCallback? onLongPress,
  4. Color? highlightColor,
  5. IconData? icon,
  6. UFUPosition? iconPosition = UFUPosition.end,
  7. UFUFontWeight? fontWeight,
  8. Color? color,
  9. double padding = 5,
  10. EdgeInsets? paddingInsets,
  11. UFUTextSize? textSize = UFUTextSize.heading3,
  12. TextDecoration? textDecoration,
  13. Color? decorationColor,
  14. double? iconSize = 16,
  15. bool isExpanded = false,
  16. bool isDisabled = false,
  17. 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,
});