From 12ec63b686eaf6f664180bf096d528de8e042ced Mon Sep 17 00:00:00 2001 From: Sumanmali019 <90921565+Sumanmali019@users.noreply.github.com> Date: Tue, 28 May 2024 22:36:12 +0530 Subject: [PATCH] Update prompt_screen.dart (#2293) An Render Flex overflow issue with a 29-pixel bottom margin occurs when several items are selected. *Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* *List which issues are fixed by this PR. For larger changes, raising an issue first helps reduce redundant work.* ## Pre-launch Checklist - [ ] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [ ] I signed the [CLA]. - [ ] I read the [Contributors Guide]. - [ ] I updated/added relevant documentation (doc comments with `///`). - [ ] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/wiki/Chat [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md --- .../lib/features/prompt/prompt_screen.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ai_recipe_generation/lib/features/prompt/prompt_screen.dart b/ai_recipe_generation/lib/features/prompt/prompt_screen.dart index 2aef4ec2e..a44d8bd61 100644 --- a/ai_recipe_generation/lib/features/prompt/prompt_screen.dart +++ b/ai_recipe_generation/lib/features/prompt/prompt_screen.dart @@ -337,9 +337,11 @@ class _FilterChipSection extends StatelessWidget { style: MarketplaceTheme.dossierParagraph, ), ), - Padding( - padding: const EdgeInsets.all(8.0), - child: child, + Expanded( + child: Padding( + padding: const EdgeInsets.all(8.0), + child: child, + ), ), ], ),