Summary
After updating to settings_ui v3, the alignment behavior of SettingsTile.navigation changed.
Short value texts are now displayed closer to the left instead of being right-aligned.
This seems related to the following change where value became wrapped with Flexible:
#200
Reproduction
SettingsTile.navigation(
title: const Text('XXXX'),
value: Text(
'XXXX',
textAlign: TextAlign.end,
),
)
Current Behavior
The value text is displayed left-shifted within the trailing area.
Expected Behavior
The value text should remain right-aligned as in previous versions.
Note
Using SizedBox(width: double.infinity) or Align can work around the issue, but app-side fixes may affect layouts differently across platforms.
Summary
After updating to settings_ui v3, the alignment behavior of SettingsTile.navigation changed.
Short value texts are now displayed closer to the left instead of being right-aligned.
This seems related to the following change where value became wrapped with Flexible:
#200
Reproduction
SettingsTile.navigation(
title: const Text('XXXX'),
value: Text(
'XXXX',
textAlign: TextAlign.end,
),
)
Current Behavior
The value text is displayed left-shifted within the trailing area.
Expected Behavior
The value text should remain right-aligned as in previous versions.
Note
Using SizedBox(width: double.infinity) or Align can work around the issue, but app-side fixes may affect layouts differently across platforms.