GlassRefractionSource typedef

  1. @Deprecated('Use GlassBackgroundSource instead. ' 'GlassRefractionSource was renamed in 0.11.0 for clarity. ' 'This alias will be removed in 1.0.0.')
GlassRefractionSource = GlassBackgroundSource

Deprecated: use GlassBackgroundSource instead.

GlassRefractionSource was renamed to GlassBackgroundSource in 0.11.0 to better reflect its purpose for absorbing background colors, not just refraction.

Implementation

@Deprecated(
  'Use GlassBackgroundSource instead. '
  'GlassRefractionSource was renamed in 0.11.0 for clarity. '
  'This alias will be removed in 1.0.0.',
)
typedef GlassRefractionSource = GlassBackgroundSource;