font method

Text font(
  1. String font
)

Implementation

Text font(String font) {
  return copyWith(
    style: style.copyWith(fontFamily: font),
  );
}