Add Circle Border To Container Flutter Code Example


Example 1: rounded borders for container in flutte

Container(   decoration: BoxDecoration(     border: Border.all(       color: Colors.red[500],     ),     borderRadius: BorderRadius.all(Radius.circular(20))   ),   child: ... )

Example 2: border at circleAvatar flutter

CircleAvatar(     radius: 30,     backgroundColor: Colors.teal,     child: CircleAvatar(       backgroundImage: AssetImage('assets/appdev.png'),       radius: 28,     ),   ),

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable