In Flutter TextField i have some text already present in it. Which Looks like this
#include<stdio.h>
int main()
{
//Text to be entered at this location
return 0;
}
Now if i insert below string at the selected cursor location
for(int i=0;i<5;i++)
{
}
After Inserting text In Textfield I get the output as below
#include<stdio.h>
int main()
{
for(int i=0;i<5;i++)
{
}
return 0;
}
How Do i maintain the indentation of the for loop,i.e,how do i get those curly braces just below for loop and not at the start of next line?
Thanks and Regards,
Narayan