ButtonText constructor
const
ButtonText({
- Key? key,
- required String label,
- ButtonType type = ButtonType.gray,
- ButtonSize size = ButtonSize.normal,
- VoidCallback? onTap,
Creates a ButtonText instance.
Implementation
const ButtonText({
super.key,
required this.label,
this.type = ButtonType.gray,
this.size = ButtonSize.normal,
this.onTap,
});