background property

Color get background

Returns the appropriate background color for the current brightness.

Implementation

Color get background => this == Brightness.light
    ? ChipColors.lightBackground
    : ChipColors.darkBackground;