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
Post a Comment