TermosTabBarEffects class
Top scrollable tab bar visuals (per theme).
Drives TermosTabBar: dot grid colouring, shell glow opacity, and the extent of the glow indicator that tracks the selected tab. Glow extent knobs (glowSpread, glowCore, glowHaloSpread, glowHaloCore) are fractions of the strip's width — they pipe straight through to GlowTopBorderPainter.
Constructors
- TermosTabBarEffects({double glowColorMixWithWhite = 0.5, double dotGridPrimaryMixWithWhite = 0.5, double dotGridPrimaryAlphaLight = 0.5, double dotGridPrimaryAlphaDark = 1.0, double glowShellBaseOpacityLight = 0.10, double glowShellBaseOpacityDark = 0.05, int dotGridExpansionMs = 100, int dotGridDecayMs = 280, double glowSpread = 0.14, double glowCore = 0.03, double glowHaloSpread = 0.16, double glowHaloCore = 0.04, double glowHaloAlpha = 0.35, double glowHaloStrokeBoost = 10, double glowHaloBlurSigma = 6, double glowHaloCornerRadius = 8, double dotsHeightFraction = 1.0, int scrollAnimationMs = 280})
-
const
Properties
- dotGridDecayMs → int
-
final
- dotGridExpansionMs → int
-
final
- dotGridPrimaryAlphaDark → double
-
final
- dotGridPrimaryAlphaLight → double
-
final
- dotGridPrimaryMixWithWhite → double
-
final
- dotsHeightFraction → double
-
Vertical band of the strip occupied by the dot grid (0–1).
final
- glowColorMixWithWhite → double
-
Color.lerp(primary, white, this) for the indicator glow in light mode.
final
- glowCore → double
-
Bright-core half-width of the visible glow stroke (fraction of strip width).
final
- glowHaloAlpha → double
-
Peak alpha of the halo pass.
final
- glowHaloBlurSigma → double
-
Blur sigma used by the halo pass mask filter.
final
- glowHaloCore → double
-
Bright-core half-width of the blurred halo pass (fraction of strip width).
final
- glowHaloCornerRadius → double
-
Corner radius the glow path follows on each side.
final
- glowHaloSpread → double
-
Outer falloff of the blurred halo pass (fraction of strip width).
final
- glowHaloStrokeBoost → double
-
Pixels added to the crisp stroke when drawing the halo pass.
final
- glowShellBaseOpacityDark → double
-
final
- glowShellBaseOpacityLight → double
-
final
- glowSpread → double
-
Outer falloff of the visible glow stroke (fraction of strip width).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollAnimationMs → int
-
Duration of the scroll-into-view animation when a tab is selected.
final
Methods
-
copyWith(
{double? glowColorMixWithWhite, double? dotGridPrimaryMixWithWhite, double? dotGridPrimaryAlphaLight, double? dotGridPrimaryAlphaDark, double? glowShellBaseOpacityLight, double? glowShellBaseOpacityDark, int? dotGridExpansionMs, int? dotGridDecayMs, double? glowSpread, double? glowCore, double? glowHaloSpread, double? glowHaloCore, double? glowHaloAlpha, double? glowHaloStrokeBoost, double? glowHaloBlurSigma, double? glowHaloCornerRadius, double? dotsHeightFraction, int? scrollAnimationMs}) → TermosTabBarEffects -
lerp(
TermosTabBarEffects other, double t) → TermosTabBarEffects -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override