TermosSegmentedEffects constructor

const TermosSegmentedEffects({
  1. double glowColorMixWithWhite = 0.5,
  2. double glowBaseOpacityLight = 0.15,
  3. double glowBaseOpacityDark = 0.05,
  4. double unselectedLabelMixWithWhiteLight = 0.32,
})

Implementation

const TermosSegmentedEffects({
  this.glowColorMixWithWhite = 0.5,
  this.glowBaseOpacityLight = 0.15,
  this.glowBaseOpacityDark = 0.05,
  /// Unselected segment label/icon tint in light mode: `lerp(textMuted, white, this)`.
  /// Dark mode keeps [TermosColors.textMuted] as-is.
  this.unselectedLabelMixWithWhiteLight = 0.32,
});