Border
Set your container border with rapid
How to apply a border
Borders are applied using the following utility patttern border
or border-[range]
. You can remove the border with border-0
Here is an example
RapidContainer(
styles: "border", // border with 1px width
child: MyWidget()
);
RapidContainer(
styles: "border-2", // border with 2px width
child: MyWidget()
);
RapidContainer(
styles: "border-0", // no border
child: MyWidget()
);
Accepted border symbols
border
which sets border to 1px widthborder-2
which sets border to 2px widthborder-4
which sets border to 4px widthborder-8
which sets border to 8px widthborder-0
which removes the border