Add custom error handling with catchError to a mix() call for logging, error conversion, or suppression
原文语言:英语
菜单
SkillsMP 已收集 marcglasberg/bloc_superpowers 中的 36 个 Skill。打开任一 Skill 可查看来源和详情。
已展示 36 / 36 个已收集 Skill。
Add custom error handling with catchError to a mix() call for logging, error conversion, or suppression
原文语言:英语
Add internet connectivity checking before executing a Cubit method with optional retry
原文语言:英语
Add debounce to delay method execution until after a period of inactivity for search or validation
原文语言:英语
Add EffectQueue to state for triggering multiple sequential one-time UI effects
原文语言:英语
Add Effect fields to state class for one-time UI notifications like snackbars, navigation, or form clearing
原文语言:英语
Add error state handling to widgets using context.isFailed() and context.getException()
原文语言:英语
Add freshness caching to prevent redundant method executions within a time period
原文语言:英语
Add loading state tracking to widgets using context.isWaiting() for spinners and skeletons
原文语言:英语
Add non-reentrant protection to prevent a Cubit method from running multiple times simultaneously
原文语言:英语
Add optimisticCommand for blocking one-time actions with immediate UI updates and automatic rollback on failure
原文语言:英语
Add optimistic sync updates for non-blocking operations where only the final value matters and rapid changes coalesce
原文语言:英语
Add optimistic sync updates in apps with real-time push (like WebSocket etc) for non-blocking operations where only the final value matters and rapid changes coalesce
原文语言:英语
Add automatic retry logic with exponential backoff to a Cubit method for transient failures
原文语言:英语
Add sequential queue processing to ensure Cubit method calls execute one after another in order
原文语言:英语
Add throttle rate limiting to prevent too-frequent method calls for refresh, scroll, or API limits
原文语言:英语
Set global default values for RetryConfig, ThrottleConfig, DebounceConfig, and other bloc_superpowers configurations
原文语言:英语
Add context.effectQueue() to widgets to consume and process queued effects in sequence
原文语言:英语
Add context.effect() to widgets to consume and react to one-time effects from state
原文语言:英语
Convert an existing Cubit to use mix() function, removing manual loading and error state management
原文语言:英语
Create a new Cubit using mix() function for automatic loading and error state tracking
原文语言:英语
Create a reusable MixConfig that bundles common mix() settings for consistent behavior across Cubits
原文语言:英语
Create a callable MixPreset function that replaces mix() with preconfigured settings
原文语言:英语
Load data with freshness caching pattern to skip redundant API calls when data is still fresh
原文语言:英语
Implement pull-to-refresh with throttle to prevent refresh spam and handle pagination
原文语言:英语
Convert BlocListener usage to Effect-based approach for clearer side effect handling
原文语言:英语
Combine checkInternet with retry.unlimited for persistent loading of critical data until connection returns
原文语言:英语
Implement search-as-you-type with debounce and loading states to avoid excessive API calls
原文语言:英语
Add bloc_superpowers package to a Flutter project with Superpowers widget and error dialog configuration
原文语言:英语
Configure Superpowers.globalCatchError for centralized error handling, logging, and error conversion
原文语言:英语
Configure Superpowers.observer for performance tracking, analytics, and debugging of all mix() calls
原文语言:英语
Set up proper test configuration for Cubits using bloc_superpowers with Superpowers.clear() and Completers
原文语言:英语
Remove isLoading and errorMessage fields from state classes and use context.isWaiting() and context.isFailed() instead
原文语言:英语
Test isFailed() and UserException handling to verify error states work correctly
原文语言:英语
Test isWaiting() behavior using Completers to verify loading states work correctly
原文语言:英语
Use Dart records as composite keys for per-item or per-parameter loading and error tracking
原文语言:英语
Use Superpowers.setProp() and prop() for key-value storage with automatic cleanup on logout or test reset
原文语言:英语