TdRawButton constructor
const
TdRawButton({
- Key? key,
- required VoidCallback onPressed,
- bool disabled = false,
- Alignment? alignment,
- double? width,
- double? height,
- EdgeInsets? padding,
- BorderRadius? borderRadius,
- List<
BoxShadow> ? boxShadow, - TextStyle? textStyle,
- IconThemeData? iconTheme,
- required Color textColor,
- Color? actionTextColor,
- Color? disabledTextColor,
- required Color backgroundColor,
- Color? actionBackgroundColor,
- Color? disabledBackgroundColor,
- Color? borderColor,
- Color? actionBorderColor,
- Color? disabledBorderColor,
- 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,
});