bloc_ease 0.3.1 bloc_ease: ^0.3.1 copied to clipboard
A dart library to solve boilerplate issues with flutter_bloc by just using typedefs instead of defining state classes.
0.1.0 #
- FourStates declaration
- BlocEaseStateWidgetsProvider widget - Used to configure default state widgets
- FourStateBuilder widget - Used instead of BlocBuilder which gives typesafe success object to build UI
- FourStateListener widget - Used instead of BlocListener which gives typesafe success object
- FourStateConsumer widget - Used instead of BlocConsumer
- Context extensions
initialStateWidget
- Gives default initial state widgetloadingStateWidget
- Gives default loading state widgetfailedStateWidget
- Gives default failed state widget
- Included Intellj and VSCode extensions to create cubit/bloc
0.2.0 #
- map function for state
- mayBeMap function for state
0.2.1 #
- feat: isLoading getter in FourState
0.3.0 #
- feat: when and maybeWhen function for state
- retryCallback in failed state
0.3.1 #
- feat: BlocEaseCombinedStateListener widget
- Used to listen to states of multiple cubits that emits FourStates.
- Even used to extract specific states of different cubits by using BlocEaseCombinedStateListener