GtdButton constructor
const
GtdButton({
- Key? key,
- GtdVoidCallback? onPressed,
- String? text,
- double? height,
- double? width,
- Color? colorText,
- Widget? trailingIcon,
- Widget? leadingIcon,
- double? borderRadius,
- FontWeight? fontWeight,
- Gradient? gradient,
- Color? color,
- BorderSide? borderSide,
- EdgeInsetsGeometry? padding,
- double? fontSize,
- bool isEnable = true,
- double? elevation,
- String? tooltip,
Implementation
const GtdButton({
super.key,
this.onPressed,
this.text,
this.height,
this.width,
this.colorText,
this.trailingIcon,
this.leadingIcon,
this.borderRadius,
this.fontWeight,
this.gradient,
this.color,
this.borderSide,
this.padding,
this.fontSize,
this.isEnable = true,
this.elevation,
this.tooltip,
});