border method

ContainerBuilder border({
  1. double width = 1.0,
  2. Color color = const Color(0xFFE5E7EB),
})

border - TailwindCSS的border类,1px边框

Implementation

ContainerBuilder border({double width = 1.0, Color color = const Color(0xFFE5E7EB)}) {
  _border = Border.all(color: color, width: width);
  return this;
}