TdRawButton constructor

const TdRawButton({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. bool disabled = false,
  4. Alignment? alignment,
  5. double? width,
  6. double? height,
  7. EdgeInsets? padding,
  8. BorderRadius? borderRadius,
  9. List<BoxShadow>? boxShadow,
  10. TextStyle? textStyle,
  11. IconThemeData? iconTheme,
  12. required Color textColor,
  13. Color? actionTextColor,
  14. Color? disabledTextColor,
  15. required Color backgroundColor,
  16. Color? actionBackgroundColor,
  17. Color? disabledBackgroundColor,
  18. Color? borderColor,
  19. Color? actionBorderColor,
  20. Color? disabledBorderColor,
  21. required Widget child,
})

Implementation

const TdRawButton({
  super.key,
  required this.onPressed,
  this.disabled = false,
  this.alignment,
  this.width,
  this.height,
  this.padding,
  this.borderRadius,
  this.boxShadow,
  this.textStyle,
  this.iconTheme,
  required this.textColor,
  this.actionTextColor,
  this.disabledTextColor,
  required this.backgroundColor,
  this.actionBackgroundColor,
  this.disabledBackgroundColor,
  this.borderColor,
  this.actionBorderColor,
  this.disabledBorderColor,
  required this.child,
});