We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b1e96b commit 5c55654Copy full SHA for 5c55654
1 file changed
lib/src/widgets/solid_login_panel.dart
@@ -124,11 +124,21 @@ class SolidLoginPanel {
124
],
125
),
126
127
- if (staySignedInCheckbox != null) staySignedInCheckbox,
128
- if (tryAnotherAccountButton != null) ...[
129
- const SizedBox(height: 4.0),
+ if (staySignedInCheckbox != null) ...[
+ if (tryAnotherAccountButton != null)
+ Row(
130
+ mainAxisAlignment: MainAxisAlignment.center,
131
+ crossAxisAlignment: CrossAxisAlignment.center,
132
+ children: [
133
+ staySignedInCheckbox,
134
+ const SizedBox(width: 16.0),
135
+ tryAnotherAccountButton,
136
+ ],
137
+ )
138
+ else
139
140
+ ] else if (tryAnotherAccountButton != null)
141
tryAnotherAccountButton,
- ],
142
143
const SizedBox(height: 20.0),
144
0 commit comments