primary property
Color
get
primary
Returns the appropriate primary color for the current brightness.
Implementation
Color get primary => this == Brightness.light
? ChipColors.lightPrimary
: ChipColors.darkPrimary;