SmartTextButton constructor

const SmartTextButton({
  1. required String text,
  2. required SmartButtonTheme theme,
  3. required SmartButtonSize size,
  4. Key? key,
  5. VoidCallback? onPressed,
  6. SmartIconData? leadingIcon,
  7. SmartIconData? trailingIcon,
  8. Color? surface,
  9. 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,
});