SyntaxFix
Write A Post
Hire A Developer
Questions
Using BoxDecoration() is the best way to show border.
Container( decoration: BoxDecoration( border: Border.all( color: Color(0xff000000), width: 4, )), child: //Your child widget ),
You can also view full format here