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:
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
|
||||
import '../../../../../utils/haptics.dart';
|
||||
import '../../../../../widget/conditional_wrapper.dart';
|
||||
import '../../utility_widgets/bloc_module.dart';
|
||||
import '../../utility_widgets/loadable_hydrated_bloc/loadable_hydrated_bloc_event.dart';
|
||||
@@ -86,6 +87,7 @@ class LoadableStateConsumer<
|
||||
final childWidget = enablePullToRefresh
|
||||
? RefreshIndicator(
|
||||
onRefresh: () {
|
||||
Haptics.refresh();
|
||||
loadableState.reFetch?.call();
|
||||
return Future.value();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user