Skip to content

Conversation

@FeodorFitsner
Copy link
Contributor

@FeodorFitsner FeodorFitsner commented Nov 14, 2025

Introduces a new Python example demonstrating SnackBar actions, updates documentation with new examples and images, and enhances integration tests for SnackBar actions. The Dart SnackBar control is updated to better distinguish between string and control-based actions. Minor doc corrections and test refactoring are also included.

Summary by Sourcery

Improve SnackBar action handling by fixing the Dart control logic, add a new Python example for simple and custom actions, update documentation with examples and images, and introduce comprehensive integration tests.

New Features:

  • Add a Python example script demonstrating simple and custom SnackBar actions

Bug Fixes:

  • Fix Dart SnackBar control to correctly distinguish and handle string-based and control-based actions and trigger action events properly

Enhancements:

  • Refactor Python SnackBar tests by renaming the basic test, adjusting page sizes, and centralizing screenshot handling

Documentation:

  • Update snack_bar documentation with new action examples and images
  • Correct typos and references in SnackBarAction and ColorScheme docstrings

Tests:

  • Add Python integration tests for simple and custom SnackBar actions in material controls and examples

Introduces a new Python example demonstrating SnackBar actions, updates documentation with new examples and images, and enhances integration tests for SnackBar actions. The Dart SnackBar control is updated to better distinguish between string and control-based actions. Minor doc corrections and test refactoring are also included.
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@cloudflare-workers-and-pages
Copy link

Deploying flet-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1843318
Status: ✅  Deploy successful!
Preview URL: https://c0238734.flet-docs.pages.dev
Branch Preview URL: https://fix-snackbar-action.flet-docs.pages.dev

View logs

@FeodorFitsner FeodorFitsner merged commit 568ac6f into main Nov 14, 2025
28 of 44 checks passed
@FeodorFitsner FeodorFitsner deleted the fix-snackbar-action branch November 14, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants