damondouglas commented on a change in pull request #16857:
URL: https://github.com/apache/beam/pull/16857#discussion_r807429996
##########
File path:
playground/frontend/lib/modules/examples/components/example_list/expansion_panel_item.dart
##########
@@ -72,12 +74,35 @@ class ExpansionPanelItem extends StatelessWidget {
? const TextStyle(fontWeight: FontWeight.bold)
: const TextStyle(),
),
- DescriptionPopoverButton(
- parentContext: context,
- example: example,
- followerAnchor: Alignment.topLeft,
- targetAnchor: Alignment.topRight,
- ),
+ Row(
+ children: [
+ if (example.isMultiFile)
Review comment:
@ElessarST may we consider instead having a children list outside this
widget and adding the MultifilePopoverButton widget if the
`example.isMultiFile` condition passes? This may improve the readability. I
had to read a few times to understand as it was an if statement inside an array.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]