mirror of
https://github.com/Iconica-Development/flutter_registration.git
synced 2025-05-18 21:23:43 +02:00
fix: correctly align next previous buttons
This commit is contained in:
parent
7abb060306
commit
e112c64ee7
1 changed files with 7 additions and 1 deletions
|
@ -153,7 +153,13 @@ class _AuthScreenState extends State<AuthScreen> {
|
|||
child: Column(
|
||||
children: [
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
mainAxisAlignment:
|
||||
(widget.previousButtonBuilder != null &&
|
||||
previousButton == null)
|
||||
? MainAxisAlignment.spaceAround
|
||||
: widget.steps.first != step
|
||||
? MainAxisAlignment.spaceBetween
|
||||
: MainAxisAlignment.end,
|
||||
children: [
|
||||
if (widget.steps.first != step)
|
||||
if (widget.previousButtonBuilder == null) ...[
|
||||
|
|
Loading…
Reference in a new issue