I am new in flutter i don't know how to make a custom border kindly help me to generate this type of border.
Asked
Active
Viewed 977 times
1
-
1refer my answer [here](https://stackoverflow.com/a/69808394/13997210) hope its help to you. – Ravindra S. Patil Nov 12 '21 at 10:08
-
thank you @RavindraS.Patil – Fazaa Majdeddine Nov 12 '21 at 10:48
-
https://www.geeksforgeeks.org/flutter-borderradius-widget/ https://stackoverflow.com/questions/69808271/flutter-chat-bubble/69808394#69808394 – Anmol Mishra Nov 12 '21 at 10:50
-
it's ok @RavindraS.Patil :) – Fazaa Majdeddine Nov 12 '21 at 12:09
1 Answers
1
Use BoxDecoration in Container
Container(
decoration: BoxDecoration(
color: Colors.white,
border: Border.all(color: Colors.red, width: 0.1),
borderRadius: BorderRadius.all(Radius.circular(5))),
child: Text("Your Child Widget")
),
),
There are many more thing in Container you just need to find over internet.

Sanjay Kumar
- 1,135
- 14
- 27