Skip to content

SettingsTile.navigation value is no longer right-aligned after v3 update #203

Description

@rin-syoukou-d

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions