Border Radius Container Flutter Width Code Example


Example 1: container flutter border radius

Container( 	decoration: BoxDecoration(     	color: Colors.blue,     	borderRadius: BorderRadius.all(     		Radius.circular(10)     	)     ) )

Example 2: container border radius flutter

Container(       child: Text(           'This is a Container',           textScaleFactor: 2,           style: TextStyle(color: Colors.black),       ),        decoration: BoxDecoration(           borderRadius: BorderRadius.circular(10),           color: Colors.white,           border: Border(               left: BorderSide(                   color: Colors.green,                   width: 3,               ),             ),           ),       height: 50,      ),

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