1 / 10

How to Make One Side Circular Border Of Widget In Flutter?

Many of you are familiar with the Container Widget. It is nothing but a parent widget that contains child widgets to manage its frontend property like height, background, width & color. This article will cover How a developer can create One Side Circular Border Of Widget In Flutter?

Ruben8
Download Presentation

How to Make One Side Circular Border Of Widget In Flutter?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to Make One How to Make One Side Circular Border Side Circular Border Of Widget In Of Widget In Flutter? Flutter?

  2. Many of you are familiar with the Container Widget. It is nothing but a parent widget that contains child widgets to manage its frontend property like height, background, width & color. This article will cover How a developer can create One Side Circular Border Of Widget In Flutter?

  3. How to Make One Side Circular Border Of How to Make One Side Circular Border Of Widget In Flutter Widget In Flutter? ?

  4. Use BorderRadius.only and Provide the Sides. Center( child: Container( height: 100, width: 100, decoration: BoxDecoration( borderRadius: BorderRadius.only(topRight: Radius.circular(40)), border: Border.all(width: 3,color: Colors.green,style: BorderStyle.solid) ), child: Center(child: Text("Hello")), ), ),

  5. The output will look like the below:

  6. Use BorderRadius.only and be specific if you need one side of the container to be rounded which corners to round.: Container( width: 150.0, padding: const EdgeInsets.all(20.0), decoration: BoxDecoration( borderRadius: BorderRadius.only( topRight: Radius.circular(40.0), bottomRight: Radius.circular(40.0)), color: Colors.white), child: Text("hello"), ),

  7. Conclusion Conclusion

  8. Thanks for being with us on a Flutter Journey !!! In this article, we have been through How to Make One Side Circular Border Of Widget In Flutter? Keep Learning !!! Keep Fluttering !!!

  9. Our Flutter Agency portal is dedicated to Flutter & its relatable technology to help Flutter Developers. Check out our website for cool resources, specially handpicked from the Flutter news industry like the latest Widget Guide, Flutter Projects, Code libs, etc.

  10. Thank You Thank You Flutter Agency Flutter Agency https://flutteragency.com https://flutteragency.com/ /

More Related