colored method

Text colored(
  1. Color color
)

Implementation

Text colored(Color color) => Text(
      data ?? '',
      style: (style ?? const TextStyle()).copyWith(color: color),
    );