text method

TextStyle text(
  1. TextStyle base, {
  2. Color? color,
})

Base text style with fontFamily.

Implementation

TextStyle text(TextStyle base, {Color? color}) => base.copyWith(fontFamily: fontFamily, color: color ?? palette.fg);