transformTextStyle property
Same as Themed.of(context).transformTextStyle = ...;
Sets a transform which will be applied to all text styles. For example:
Themed.transformTextStyle = (TextStyle style) =>
(style.fontSize == null)
? style
: style.copyWith(fontSize: style.fontSize! * 1.20);
Implementation
static set transformTextStyle(TextStyle Function(TextStyle)? transform) {
_setTransformTextStyle(transform);
_setState();
}