scaled method

TextStyle scaled(
  1. double factor
)

Creates a copy scaled by the given factor.

Implementation

TextStyle scaled(double factor) {
  return copyWith(
    fontSize: (fontSize ?? 14) * factor,
  );
}