topLeftRightDecoration method
Implementation
Decoration topLeftRightDecoration(Color color) {
return ShapeDecoration(
color: color,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.only(topLeft: Radius.circular(w), topRight: Radius.circular(w))));
}