bgColor method

Text bgColor(
  1. Color backgroundColor
)

Sets text background color with either Colors or FxColors

Implementation

Text bgColor(Color backgroundColor) =>
    _copyWith(style: TextStyle(backgroundColor: backgroundColor));