testMethod method

Widget testMethod(
  1. dynamic fontSize,
  2. dynamic fontWeight,
  3. dynamic colorsC,
  4. dynamic textS,
)

Implementation

Widget testMethod(var fontSize, var fontWeight, var colorsC, var textS) {
  return Text(
    '$textS',
    textAlign: TextAlign.center,
      textScaleFactor: 1.0,
    style: TextStyle(
      fontSize: getFontSize(fontSize),
      fontFamily: "Poppins",
      color: colorsC,
      fontWeight: fontWeight,
    ),
  );
}