TermosButton constructor
const
TermosButton({
- Key? key,
- required Text label,
- VoidCallback? onTap,
- Widget? icon,
- bool enabled = true,
- bool isLoading = false,
- String? loadingLabel,
- bool typingLoadingTransition = false,
- bool savedState = false,
- bool allowTapWhenSaved = false,
- String? savedLabel,
- Widget? savedIcon,
- double? height,
- double? width,
- bool expandWidth = true,
- Color? color,
- BorderRadius? borderRadius,
Implementation
const TermosButton({
super.key,
required this.label,
this.onTap,
this.icon,
this.enabled = true,
this.isLoading = false,
this.loadingLabel,
this.typingLoadingTransition = false,
this.savedState = false,
this.allowTapWhenSaved = false,
this.savedLabel,
this.savedIcon,
this.height,
this.width,
this.expandWidth = true,
this.color,
this.borderRadius,
});