How to add a border to only one part of the container in Flutter?

This Article is posted by seven.srikanth at 12/6/2018 1:23:54 AM



<p>In this article, I'm going to show you how to add a border to only one or a few parts of the container in Flutter?<br /> This is how the final output is going to look.</p> <pre> ![](/Uploads/d0b3cf01-5b32-467f-ab52-1b549ef6936b.pngwidth="50%height="auto]( </pre> <p>This can be achieved by adding a decoration to the container as below.</p> <p>font-size: 1rem;](</p> <p>font-size: 1rem;](</p> <p>font-size: 1rem;](However, h font-size: 1rem;](ere is the complete code to achieve this from main.dart file,</p> <p>font-size: 1rem;](</p> <p>Here is a quick video for the same. Subscribe to my channel for more videos on flutter.</p> <p>Thanks, Srikanth</p>


Tags: How to add a border to only one part of the container in Flutter?; border class; borderside class;








1 Comments
Login to comment.
Recent Comments

xitex34014 at 5/8/2021

<a href="https://pub.dev/packages/dotted_border">dotted_border | Flutter Package - Pub.dev</a>

Login to Reply.