configtextstyle static method

TextStyle configtextstyle(
  1. double fontsiz,
  2. Color color, {
  3. FontWeight font = FontWeight.normal,
})

Implementation

static TextStyle configtextstyle(
  double fontsiz,
  Color color, {
  FontWeight font = FontWeight.normal,
}) {
  return TextStyle(
    fontSize: fontsiz,
    color: color,
    fontWeight: font,
    fontFamily: 'SourceHanSans',
  );
}