implemented a central haptic feedback system with configurable levels (off, reduced, full), added a Haptics facade providing semantic feedback methods, integrated haptic cues across navigation, settings toggles, and async action results, and updated version to 1.1.0+54

This commit is contained in:
2026-05-30 13:54:19 +02:00
parent 01b4b44010
commit ece0669f7d
26 changed files with 308 additions and 75 deletions
+4 -2
View File
@@ -66,9 +66,11 @@ class _AsyncMixinState extends State<_AsyncMixin> {
);
if (!mounted) return;
if (success) {
Haptics.success();
widget.onSuccess?.call();
} else if (widget.onError != null && _controller.error != null) {
widget.onError!(_controller.error!);
} else if (_controller.error != null) {
Haptics.error();
widget.onError?.call(_controller.error!);
}
}