surfaceVariant property

  1. @Deprecated('Use surfaceContainerHighest instead. ' 'This feature was deprecated after v3.18.0-0.1.pre.')
Color surfaceVariant

A color variant of surface that can be used for differentiation against a component using surface.

Implementation

@Deprecated(
  'Use surfaceContainerHighest instead. '
  'This feature was deprecated after v3.18.0-0.1.pre.'
)
Color get surfaceVariant => _surfaceVariant ?? surface;