applyTo static method

void applyTo(
  1. Style style,
  2. ThemeData theme
)

Implementation

static void applyTo(Style style, ThemeData theme) {
  if (style.fg == null && theme.textColor != null) {
    // Apply text color (handled by consumer widgets)
  }
}