fsize method

TextStyle fsize(
  1. double size
)

Creates a copy of the text style with a custom font size.

Example:

// Applying the 'fsize' extension to a text style
Text(
  'Custom Font Size',
  style: myTextStyle.fsize(24),
)

Implementation

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