outline method

ContainerBuilder outline({
  1. double width = 2.0,
  2. Color color = const Color(0xFF000000),
  3. double offset = 0.0,
})

outline - 设置轮廓宽度和颜色

Implementation

ContainerBuilder outline({double width = 2.0, Color color = const Color(0xFF000000), double offset = 0.0}) {
  _outlineWidth = width;
  _outlineColor = color;
  _outlineOffset = offset;
  return this;
}