display static method

TextStyle display({
  1. FontWeight fontWeight = FontWeight.bold,
  2. Color? color,
  3. bool allowFontScaling = false,
})

Display text style (very large)

Implementation

static TextStyle display({
  FontWeight fontWeight = FontWeight.bold,
  Color? color,
  bool allowFontScaling = false,
}) {
  return style(
    fontSize: ScreenUtil.instance.isPhone ? 32 : 48,
    fontWeight: fontWeight,
    color: color,
    allowFontScaling: allowFontScaling,
  );
}