FormBuilder input fields not showing in a row in - flutter (Form builder package)

Viewed 730

In need to display multipe text fields in a Row using flutter_form_builder package, here is my code (Not working)

FormBuilder(
           
            child: Column(children: <Widget>[
    
              FormBuilderTextField(
                attribute: 'product_name',
                decoration: const InputDecoration(
                  labelText: 'Product Name',
                ),
                onChanged: _onChanged,       
              ),
              Row(
                children: [
                  FormBuilderTextField(
                  attribute: 'product_before',
                  decoration: const InputDecoration(
                  labelText: 'Product Name',
                  ),
                onChanged: _onChanged,),
                FormBuilderTextField(
                attribute: 'product_after',
                decoration: const InputDecoration(
                  labelText: 'Product Name',
                ),
                onChanged: _onChanged,
                ),
                ],
              ),
              SizedBox(height: 15),
              
             
            ]))

package link : https://pub.dev/packages/flutter_form_builder like this

0 Answers
Related