fontSize method

Text fontSize(
  1. double fontSize
)

Sets the font size of the text

Example:

Text('Hello').fontSize(20)

Implementation

Text fontSize(double fontSize) =>
    _copyWith(style: TextStyle(fontSize: fontSize));