getStyle method

TextStyle? getStyle(
  1. String key,
  2. StyleMapper? styleMapper
)
inherited

Implementation

TextStyle? getStyle(String key, StyleMapper? styleMapper) {
  final name = attrs[key];
  if (name == null || name.isEmpty) return null;
  return styleMapper?[name];
}