Answers for "flutter add more than one border"

0

flutter add more than one border

You could wrap your container with an already existing border 
with another container with a border 

 Container(
        decoration: BoxDecoration(
          border: Border.all(
            color: Colors.red,
            width: 12,
          ),
          shape: BoxShape.circle,
        ),
        child: Container(
          width: 180,
          height: 180,
          decoration: BoxDecoration(
            color: Colours.white,
            border: Border.all(
              color: Colours.blue,
              width: 12,
            ),
            shape: BoxShape.circle,
          ),
          child: const Icon(
            Icons.location_pin,
            color: Colours.blue,
            size: 90,
          ),
        ),
      );
Posted by: Guest on March-25-2022

Code answers related to "flutter add more than one border"

Browse Popular Code Answers by Language