buttonCreateOnlyBorder method

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

Implementation

Widget buttonCreateOnlyBorder(
     var textName, var colorsV, var fontWeight, var fontSizeC,var height,var width) {
   return Container(
     width: getProportionateScreenWidth(width),
     height: getProportionateScreenHeight(height),
     decoration: BoxDecoration(
       color: Colors.transparent,
       border: Border.all(color: AppColors.buttonColorTextWithBorder, width: 1),
       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),
     ),
   );
 }