I see this answer for conditional color
I am trying to do the same for padding like so
Padding(
padding: const EdgeInsets.only(bottom: isLogin ? 58.0 : 10.0),
)
it is not being accepted.
Thank you
I see this answer for conditional color
I am trying to do the same for padding like so
Padding(
padding: const EdgeInsets.only(bottom: isLogin ? 58.0 : 10.0),
)
it is not being accepted.
Thank you