Fix: Resolve critical linting issues and bugs (concurrency, syntax, dead code)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import 'dart:developer' as developer;
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
|
||||
import 'package:krow_domain/krow_domain.dart';
|
||||
|
||||
/// Mixin to standardize error handling across all BLoCs.
|
||||
@@ -45,7 +45,7 @@ mixin BlocErrorHandler<S> {
|
||||
/// - Logs full error and stack trace
|
||||
/// - Emits generic error state
|
||||
Future<void> handleError({
|
||||
required Emitter<S> emit,
|
||||
required void Function(S) emit,
|
||||
required Future<void> Function() action,
|
||||
required S Function(String errorKey) onError,
|
||||
String? loggerName,
|
||||
|
||||
@@ -15,3 +15,5 @@ dependencies:
|
||||
path: ../design_system
|
||||
equatable: ^2.0.8
|
||||
flutter_modular: ^6.4.1
|
||||
krow_domain:
|
||||
path: ../domain
|
||||
|
||||
Reference in New Issue
Block a user