body static method

TextStyle body(
  1. BuildContext context
)

Returns a responsive Body text style.

Implementation

static TextStyle body(BuildContext context) {
  final (config, textScaler) = _deps(context);
  return TextStyle(
    fontSize: textScaler.scale(config.body.resolve(context)),
    fontWeight: FontWeight.normal,
  );
}