I am using android studio and always use reformate code with 'dartfarmate' option. but it alwasy breaks the code in very unnecessary code of line which sometime disturb me while coding. what is the better solution
Container(
decoration: BoxDecoration(
border: Border.all(
color: Colors.grey),
color: const Color
.fromARGB(
100, 225, 225, 225),
borderRadius:
BorderRadius
.circular(5),
),
margin:
const EdgeInsets.only(
bottom: 5),
padding:
const EdgeInsets.only(
bottom: 8,
top: 8,
left: 8,
right: 8),
child: InputField(
text:
"detail here...",
controller:
controler,
isEditable:
true,
),
),
But I expect the code should look like that
Container(
decoration: BoxDecoration(
border: Border.all(color: Colors.grey),
color: const Color.fromARGB(100, 225, 225, 225),
borderRadius: BorderRadius.circular(5),
),
margin: const EdgeInsets.only(bottom: 5),
padding:
const EdgeInsets.only(bottom: 8, top: 8, left: 8, right: 8),
child: InputField(
text: "detail here...",
controller: controler,
isEditable: true,
),
),