ButtonText constructor

const ButtonText({
  1. Key? key,
  2. required String label,
  3. ButtonType type = ButtonType.gray,
  4. ButtonSize size = ButtonSize.normal,
  5. bool isSelected = false,
  6. bool? isHovered,
  7. bool? hasIcon,
  8. IconData? icon,
  9. Widget? iconWidget,
  10. VoidCallback? onTap,
})

Creates a ButtonText instance.

Implementation

const ButtonText({
  super.key,
  required this.label,
  this.type = ButtonType.gray,
  this.size = ButtonSize.normal,
  this.isSelected = false,
  this.isHovered,
  this.hasIcon,
  this.icon,
  this.iconWidget,
  this.onTap,
});