'I am trying to reduce the width of my container border in flutter, the last I can go is "width:1” in flutter
Container(
decoration:BoxDecoration(
color:Colors.white,
border:Border.all(width:1.0),// want to reduce the width to less than 1.
color: Colors.white,
borderRadius:BorderRadius.circular(20.0),
Solution 1:[1]
you can use double value like below
Container(
decoration: BoxDecoration(
border: Border.all(width:0.5), // 0.1 to 0.9
color: Colors.yellow,
borderRadius: BorderRadius.circular(20.0),
),
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | MohammedAli |
