Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@ class _CrossPlatformSettingsScreenState
SettingsSection(
title: Text('Account'),
tiles: <SettingsTile>[
SettingsTile.navigation(
SettingsTile(
leading: Icon(Icons.phone),
title: Text('Phone number'),
value: Text('+1 123 456 789'),
),
SettingsTile.navigation(
leading: Icon(Icons.mail),
Expand Down
6 changes: 4 additions & 2 deletions lib/src/tiles/platforms/ios_settings_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,10 @@ class IOSSettingsTileState extends State<IOSSettingsTile> {
),
// Value is Flexible here so it can shrink without
// pushing the title when the text is long. (Issue #186)
if (widget.tileType ==
SettingsTileType.navigationTile &&
if ((widget.tileType ==
SettingsTileType.navigationTile ||
widget.tileType ==
SettingsTileType.simpleTile) &&
widget.value != null)
Flexible(
child: DefaultTextStyle(
Expand Down