1

I am new in flutter i don't know how to make a custom border kindly help me to generate this type of border.

enter image description here

1 Answers1

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