How to make the length of the textField always same?
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text("Project"),
SizedBox(
width: 25,
),
Expanded(
child: TextField(
style: TextStyle(fontSize: 12),
// onChanged: (text) => _assetBloc.assetSink.add(text),
controller: _projectController,
decoration: InputDecoration(
border: OutlineInputBorder(
borderRadius:
const BorderRadius.all(const Radius.circular(5.0))),
contentPadding: EdgeInsets.all(10),
hintText: "Phase 1",
labelText: "Phase 1",
),
))
],
),SizedBox(
height: 10,
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text("To"),
SizedBox(
width: 25,
),
Expanded(
child: TextField(
style: TextStyle(fontSize: 12),
// onChanged: (text) => _assetBloc.assetSink.add(text),
controller: _projectController,
decoration: InputDecoration(
border: OutlineInputBorder(
borderRadius:
const BorderRadius.all(const Radius.circular(5.0))),
contentPadding: EdgeInsets.all(10),
hintText: "Phase 1",
labelText: "Phase 1",
),
))
],
)
