text method

TextStyle? text(
  1. String name, {
  2. TextStyle? base,
})

A text style: a named one or a map.

Implementation

TextStyle? text(String name, {TextStyle? base}) =>
    _plain(name, 'text style', (path) => _textAt(path, base: base));