VisualLayerBuilder typedef

VisualLayerBuilder = Widget Function({required double binauralBeatHz, required double pulseFrequencyHz, required Color screenColor})

Builder type for visual experience overlays.

Receives the current binaural beat Hz and pulse frequency so the visual can sync to the audio state. The widget is layered between the photic background and the timer/controls.

Implementation

typedef VisualLayerBuilder = Widget Function({
  required double binauralBeatHz,
  required double pulseFrequencyHz,
  required Color screenColor,
});