$ flutter --version
Flutter 2.2.2 • channel stable
Framework • revision d79295af24 (3 weeks ago) • 2021-06-11 08:56:01 -0700
Engine • revision 91c9fc8fe0
Tools • Dart 2.13.3
Copy the code

Direct code

   decoration: InputDecoration(
                        border: OutlineInputBorder(borderSide: BorderSide.none),
                        contentPadding: EdgeInsets.all(0),
                      ),
Copy the code

If you have any questions, you can try