border method

VxAnimatedBox border({
  1. Color color = Colors.black,
  2. double width = 1.0,
  3. BorderStyle style = BorderStyle.solid,
})

Sets the border of the Box.

Implementation

VxAnimatedBox border(
    {Color color = Colors.black,
    double width = 1.0,
    BorderStyle style = BorderStyle.solid}) {
  _border = Border.all(color: color, width: width, style: style);
  return this;
}