Skip to content

Conversation

matthew-carroll
Copy link
Contributor

@matthew-carroll matthew-carroll commented Jul 6, 2025

[FEATURE][BUG]: Fixes and improvements when using with follow_the_leader package

  • FIX: Make use of given spacing in GridGoldenSceneLayout
  • FIX/ADJUSTMENT: Don't paint to Canvas before taking photo with FlutterCamera - this broke nuanced render object and layer behavior in follow_the_leader. Instead, use toImageSync() on the existing RepaintBoundary.
  • ADJUSTMENT: Changed GridSceneLayout to use default item decorator and background to match existing behavior of FlexSceneLayout.
  • FEATURE: Add itemSetup to Gallery so that a single setup can be applied to all items.
  • ADJUSTMENT: When a Gallery is given item constraints, it now sets its physicalSize to match the max bounds.
  • FEATURE: Timeline now accepts a desired windowSize which it applies to the physicalSize in the test.
  • ADJUSTMENT: Changed the existing "minimal" Timeline itemScaffold to become the "standard" one, and then created a true "minimal" itemScaffold that makes no decisions about theme, background color, or padding.
  • ADJUSTMENT: Renamed "pump" method in Timeline to say "builder" because that's more of what it is.

…rCamera - this broke nuanced render object and layer behavior in follow_the_leader. Instead, use toImageSync() on the RepaintBoundary.
… background to match existing behavior of FlexSceneLayout.
…ts that need a window boundary

 * Timeline lets you specify a
 * Timeline now offers a truly minimal item scaffold with no theming, background color, or padding
 * Switched out map of goldens in layout API for a SceneLayoutContent data structure that includes goldens, description, etc - so that scene layouts can make more decisions about info to include in the final render
@matthew-carroll
Copy link
Contributor Author

FYI @angelosilvestre

@matthew-carroll matthew-carroll merged commit c84afb8 into main Jul 7, 2025
2 checks passed
@matthew-carroll matthew-carroll deleted the fixes-and-improvements-when-using-with-follow-the-leader branch July 7, 2025 03:26
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.

1 participant