buttonCreateWithoutBorder method

Widget buttonCreateWithoutBorder(
  1. dynamic textName,
  2. dynamic colorsV,
  3. dynamic fontWeight,
  4. dynamic fontSizeC,
  5. dynamic height,
  6. dynamic width,
)

Implementation

Widget buttonCreateWithoutBorder(
    var textName, var colorsV, var fontWeight, var fontSizeC,var height,var width) {
  return Container(
    width: getProportionateScreenWidth(width),
    height: getProportionateScreenHeight(height),
    decoration: BoxDecoration(
      color: AppColors.buttonColorTextWithBorder,
      borderRadius: BorderRadius.circular(20.r),
    ),
    alignment: Alignment.center,
    child: Text(
      textName,
      textAlign: TextAlign.center,
      style: TextStyle(
          fontSize:  getFontSize(fontSizeC),
          fontFamily: "Poppins",
          fontWeight: fontWeight,
          color: colorsV),
    ),
  );
}