ringOffset method

ContainerBuilder ringOffset({
  1. double offset = 0.0,
  2. Color color = Colors.white,
})

ring-offset - ring 偏移量

Implementation

ContainerBuilder ringOffset({double offset = 0.0, Color color = Colors.white}) {
  // ring-offset 通过添加一个白色(或指定颜色)的 ring 来实现
  return ring(width: 2.0, color: color, offset: offset);
}