Skip to content

Commit

Permalink
Fix fluent card layout for left-to-right languages
Browse files Browse the repository at this point in the history
  • Loading branch information
alesimula committed Jan 28, 2023
1 parent ddbc335 commit 2ee9383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widget/fluent_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class FluentCardState extends State<FluentCard>
child: widget.leading!,
),
Expanded(child: (widget.trailing == null && !widget.isButton) ? Padding(
padding: const EdgeInsets.only(right: 17),
padding: const EdgeInsetsDirectional.only(end: 17),
child: widget.content,
): widget.content),
if (widget.trailing != null) Padding(
Expand Down

0 comments on commit 2ee9383

Please sign in to comment.