dynamic_popup 1.0.6 copy "dynamic_popup: ^1.0.6" to clipboard
dynamic_popup: ^1.0.6 copied to clipboard

A flexible and customizable dynamic popup system for Flutter with markdown support and interactive components.

1.0.6 #

Changed #

  • Fix issue where popup state was not persisted correctly

1.0.5 #

Added #

  • Optional lifecycle event hooks in repository interface (popupShown, popupDismissed)
  • Enhanced visual feedback for form validation with red-themed header border
  • Automatic scrolling to first invalid field when validation fails

Changed #

  • Improved popup state management for showOnce popups to prevent reopening
  • Snackbar error messages now use red color scheme for better visibility
  • Repository interface extended with optional methods while maintaining backward compatibility
  • Form validation now scrolls to first invalid field and highlights only the header instead of entire popup

1.0.4 #

Fixed #

  • Fixed issue where showOnce popups would reappear after being completed or dismissed
  • Enhanced form validation feedback with both local component and global popup highlighting
  • Fixed popup state persistence by implementing proper loading from local storage

1.0.3 #

Added #

  • Support for option IDs in radio buttons, checkboxes, and dropdowns
  • Smart scrolling for long content in popups
  • Support for multiline syntax with newlines and spaces in component definitions
  • Custom slots support for titles, footers, and action buttons
  • Dedicated examples/documentation screen in the example app
  • View Markdown button in example popups

Changed #

  • Improved markdown syntax from positional parameters to HTML-like syntax
  • Updated component initiator from ::: to :::dc<component>dc::: for better identification
  • Removed support for old positional parameter syntax
  • Updated all examples to use new HTML-like syntax with option IDs
  • Enhanced UI components to send option IDs instead of text values in responses
  • Consolidated test interface into main example screen
  • Improved dialog dismissal handling to prevent overlay issues

Fixed #

  • Ensured option IDs are properly used in popup responses instead of text values
  • Fixed overlay persistence issue when dismissing non-required popups

1.0.2 #

  • Removed http dependency from core library (moved to example project only)
  • Removed unused DefaultDynamicPopupRepository from core library
  • Added .pubignore file to prevent publishing unnecessary files
  • Added LICENSE file with MIT license
  • Added CONTRIBUTING.md with contribution guidelines
  • Added CODE_OF_CONDUCT.md with community standards
  • Fixed flutter analyze issues:
    • Removed unused local variable in dynamic_popup_service.dart
    • Removed unnecessary imports in dynamic_popup_widget.dart
    • Updated deprecated onPopInvoked to onPopInvokedWithResult
    • Updated deprecated value parameter to initialValue in dropdown
  • Updated documentation to clarify dependency requirements
  • Improved package structure for pub.dev publishing

1.0.1 #

  • Simplified repository pattern by reducing required methods from 7 to 3
  • Removed complex optional methods (markPopupAsShown, markPopupAsDismissed) for easier implementation
  • Streamlined example code by removing redundant buttons and simplifying demonstrations
  • Improved documentation with clearer, more concise instructions
  • Added JSON logging in example apps for better debugging of popup responses
  • Enhanced snackbar colors in examples for better readability and user experience
  • Fixed undefined variable error in API integration example
  • Removed unnecessary http dependency from core library (now only in example)
  • Removed unused DefaultDynamicPopupRepository from core library
  • Maintained all core functionality while reducing complexity

1.0.0 #

  • Initial release of the dynamic popup system
  • Support for configurable popups from backend APIs
  • Markdown parser with dynamic component placeholders
  • Interactive UI components: RadioButton, Checkbox, TextArea, TextField, Dropdown
  • Automatic validation of required fields
  • Persistent state management (show once, completed/dismissed)
  • Support for both blocking and non-blocking popup behaviors
  • Smooth animations and modern design
  • Offline support with local storage
  • Comprehensive test page for validation
  • Detailed documentation and examples
0
likes
150
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A flexible and customizable dynamic popup system for Flutter with markdown support and interactive components.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_html, shared_preferences

More

Packages that depend on dynamic_popup