textColor method

T textColor(
  1. Color? color
)

Implementation

T textColor(Color? color) => copyWith(
      style: (style ?? const TextStyle()).copyWith(
        color: color,
      ),
    ) as T;