size method

TextStyle size(
  1. double size
)

Returns a copy with updated font size.

Implementation

TextStyle size(double size) => copyWith(fontSize: size);