-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0.0-beta.2 : arrange widget with Row and Column #46
Comments
This issue does not directly stem from this package but I'll try to help. The reason for the error is because the widgets you've placed inside the Putting Expandable widget around each will have Flutter assign them equal width thus the Row(
children: <Widget>[
Expanded(
child: FormBuilderDateTimePicker(
attribute: 'begin_time',
inputType: InputType.time,
format: DateFormat("HH:mm"),
decoration: InputDecoration(labelText: "Start time"),
),
),
SizedBox(width: 10,),
Expanded(
child: FormBuilderDateTimePicker(
attribute: 'end_time',
inputType: InputType.time,
format: DateFormat("HH:mm"),
decoration: InputDecoration(labelText: "End time"),
),
),
],
), |
Ho, sorry @danvick, I though it came from the package. Thanks for the solution, it works ! |
Hi @danvick,
I would like to arrange the widgets with Column and Row but there are a lot of exceptions thrown (RenderObject, RenderFlex, etc.). Could you please tell me how, for example, put two inputs in a Row ?
Here is an example :
Thanks !
The text was updated successfully, but these errors were encountered: