NeoConfig holds framework-wide settings that apply before the first frame. Pass it to NeoApp.config, or update it at runtime through neoConfigProvider.
Example
Properties
Content
bool
default:"true"
When
true, NeoButton plays light haptic on press down and heavy on release, unless overridden by NeoButton.enableHaptic. Ignored for hold-to-confirm buttons.Provider
NotifierProvider
Exposes the current
NeoConfig. Watch it for reactive updates, or call updateConfig on the notifier to change settings at runtime.Best Practices
- Prefer seeding config through
NeoApp.configso the first frame uses your intended defaults. - Use
NeoButton.enableHapticfor one-off exceptions instead of flipping the global flag.
Integration Notes
NeoAppoverridesneoConfigProviderwith your seeded config so there is no post-frame flash.- Hold-to-confirm buttons manage their own feedback and ignore both
enableButtonHapticsandenableHaptic.

