ButtonText constructor
const
ButtonText({
- Key? key,
- required String label,
- ButtonType type = ButtonType.gray,
- ButtonSize size = ButtonSize.normal,
- bool isSelected = false,
- bool? isHovered,
- bool? hasIcon,
- IconData? icon,
- Widget? iconWidget,
- 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,
});