ProButtonBasic constructor
const
ProButtonBasic({
- Key? key,
- String? text,
- double? fontSize,
- Color? fontColor,
- FontWeight? fontWeight,
- double? width,
- double? height,
- double? borderRadius,
- Color? backgroundColor,
- EdgeInsets? padding,
- FocusNode? focusNode,
- bool? enableShadow,
- required Function onTap,
- Widget? customChild,
- double? borderWidth,
- BorderRadius? customBorderRadius,
- Color? borderColor,
- Color? splashColor,
- Color? shadowColor,
- Offset? shadowOffset,
- double? shadowBlurRadius,
- double? shadowSpreadRadius,
ProButtonBasic is a basic button made with important parameters that a developer will need. Modify the button in your way, passing values easily.
Implementation
const ProButtonBasic({
Key? key,
this.text,
this.fontSize,
this.fontColor,
this.fontWeight,
this.width,
this.height,
this.borderRadius,
this.backgroundColor,
this.padding,
this.focusNode,
this.enableShadow,
required this.onTap,
this.customChild,
this.borderWidth,
this.customBorderRadius,
this.borderColor,
this.splashColor,
this.shadowColor,
this.shadowOffset,
this.shadowBlurRadius,
this.shadowSpreadRadius,
}) : super(key: key);