mirror of
https://github.com/Iconica-Development/flutter_registration.git
synced 2025-05-19 05: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(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment:
|
||||||
|
(widget.previousButtonBuilder != null &&
|
||||||
|
previousButton == null)
|
||||||
|
? MainAxisAlignment.spaceAround
|
||||||
|
: widget.steps.first != step
|
||||||
|
? MainAxisAlignment.spaceBetween
|
||||||
|
: MainAxisAlignment.end,
|
||||||
children: [
|
children: [
|
||||||
if (widget.steps.first != step)
|
if (widget.steps.first != step)
|
||||||
if (widget.previousButtonBuilder == null) ...[
|
if (widget.previousButtonBuilder == null) ...[
|
||||||
|
|
Loading…
Reference in a new issue