borderNaked method
Implementation
Border borderNaked() {
final widthExtent = width.toExtent(isDimension: true) ?? 0;
if (all == true) {
return Border.all(
color: Colors.transparent,
width: widthExtent,
);
}
return Border(
top: top == true
? BorderSide(
color: Colors.transparent,
width: widthExtent,
)
: BorderSide.none,
right: right == true
? BorderSide(
color: Colors.transparent,
width: widthExtent,
)
: BorderSide.none,
bottom: bottom == true
? BorderSide(
color: Colors.transparent,
width: widthExtent,
)
: BorderSide.none,
left: left == true
? BorderSide(
color: Colors.transparent,
width: widthExtent,
)
: BorderSide.none,
);
}