Button constructor
const
Button(
- String data, {
- Key? key,
- Color? textColor,
- double? fontSize,
- FontWeight? fontWeight,
- double? width,
- double? height,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- Color? backgroundColor,
- BoxBorder? border,
- double? borderRadius,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- VoidCallback? onDoubleTap,
Implementation
const Button(
this.data, {
super.key,
this.textColor,
this.fontSize,
this.fontWeight,
this.width,
this.height,
this.padding,
this.margin,
this.backgroundColor,
this.border,
this.borderRadius,
this.onTap,
this.onLongPress,
this.onDoubleTap,
});