defaultTextStyle function

TextStyle defaultTextStyle({
  1. double fontSize = 15,
  2. FontWeight fontWeight = FontWeight.w400,
  3. String? fontFamily,
  4. TextDecoration decoration = TextDecoration.none,
  5. Color color = Colors.black,
  6. FontStyle fontStyle = FontStyle.normal,
})

Implementation

TextStyle defaultTextStyle({
  double fontSize = 15,
  FontWeight fontWeight = FontWeight.w400,
  String? fontFamily,
  TextDecoration decoration = TextDecoration.none,
  Color color = Colors.black,
  FontStyle fontStyle = FontStyle.normal,
}) {
  return TextStyle(
    fontSize: fontSize,
    fontWeight: fontWeight,
    fontFamily: fontFamily,
    decoration: decoration,
    color: color,
    fontStyle: fontStyle,
  );
}