secondaryVariant property Null safety

Color secondaryVariant
@Deprecated('Use secondary or secondaryContainer instead. ' 'This feature was deprecated after v2.6.0-0.0.pre.')

A darker version of the secondary color.

Implementation

@Deprecated(
  'Use secondary or secondaryContainer instead. '
  'This feature was deprecated after v2.6.0-0.0.pre.'
)
Color get secondaryVariant => _secondaryVariant ?? secondary;