Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

add border color to one side and rounded border container flutter

ClipPath(
    clipper: ShapeBorderClipper(
        shape: RoundedRectangleBorder(
            borderRadius: BorderRadius.all(Radius.circular(10))
        )
    ),
    child: Container(
        height: 70.0,
        width: 200.0,
        decoration: BoxDecoration(
            color: Colors.orange,
            border: Border(
                bottom: BorderSide(
                    color: Color.fromRGBO(0, 83, 79, 1),
                    width: 7.0
                )
            )
        )
    )
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #border #color #side #rounded #border #container #flutter
ADD COMMENT
Topic
Name
1+7 =