normal static method

EcpCommonBtn normal({
  1. required String label,
  2. required dynamic onClick(),
  3. TextStyle? style,
  4. EdgeInsets? padding,
  5. Size? size,
  6. double? width,
  7. double? height,
  8. EdgeInsets? margin,
  9. Color? borderColor,
  10. Color? textColor,
})

Implementation

static EcpCommonBtn normal({
  required String label,
  required Function() onClick,
  TextStyle? style,
  EdgeInsets? padding,
  Size? size,
  double? width,
  double? height,
  EdgeInsets? margin,
  Color? borderColor,
  Color? textColor,
}) {
  return EcpCommonBtn(
    label: label,
    onClick: onClick,
    style: style,
    padding: padding,
    width: width,
    height: height,
    margin: margin,
  );
}