block_dialog 1.2.0
block_dialog: ^1.2.0 copied to clipboard
Block-based, animated dialogs for Flutter with composable layout, typed results, and fine-grained dismissal control.
1.2.0 #
Added #
- Added
getBlockByTagtoBlockDialogControllerto allow accessing blocks from anywhere using the controller. BlockButton.onValidateandBlockButton.onPressednow return the dialog controller instance for easier access to other blocks during interactions.
Fixed #
- Fixed
RenderFlexoverflow issues when the software keyboard pushes the dialog layout. - Fixed
DialogConfigchildren padding affectingDialogButtonbackground coloring on press states.
1.1.1 #
1.1.0 #
Added #
- Support for
initialValueinBlockInputField - New configuration options in
DialogConfig:maxWidthmaxHeightchildrenPaddingtextDirection
- Ability for individual blocks to override default padding
- Ability to trigger shake animation on specific blocks from
onValidatecallback (useful for validation feedback)
Improved #
- Enhanced layout flexibility and responsiveness through new sizing and padding controls
1.0.1 #
- Fixed BlockCustom decoration logic when
matchDialogThemeis enabled/disabled.
1.0.0 #
- Initial release of block-based dialog system.
- Composable rows and blocks with automatic position resolving.
- Built-in blocks: text, input, checkbox, radio group, button, spacer, custom.
- Typed results with
BlocksResultand per-blockresultIdkeys. - Animated dimmed barrier synchronized with dialog animation.
- Multiple block animations (slide, scale, elastic, depth, cinematic, expand-from-corner).
- Customizable styling via
DialogConfig.