SmartTextButton constructor
const
SmartTextButton({
- required String text,
- required SmartButtonTheme theme,
- required SmartButtonSize size,
- Key? key,
- VoidCallback? onPressed,
- SmartIconData? leadingIcon,
- SmartIconData? trailingIcon,
- Color? surface,
- bool expand = false,
Implementation
const SmartTextButton({
required this.text,
required this.theme,
required this.size,
super.key,
this.onPressed,
this.leadingIcon,
this.trailingIcon,
this.surface,
this.expand = false,
});