To apply the padding to the content of the TextField
. You can apply the
contentPadding property of ItemDecoration at decoration property of TextField.
Like this:
TextField(
textAlign: TextAlign.left,
decoration: InputDecoration(
hintText: 'Enter Something',
contentPadding: EdgeInsets.all(20.0),
),
)