borderDouble method

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

border-double - 双线边框(Flutter 限制:使用 solid 代替) 如需真正的双线边框,请使用自定义 CustomPainter

Implementation

ContainerBuilder borderDouble({double width = 1.0, Color color = const Color(0xFFE5E7EB)}) {
  // Flutter 不支持 double 边框,使用 solid 代替
  return borderAll(color: color, width: width);
}