BarConfig constructor

const BarConfig({
  1. double? width,
  2. Color? color,
  3. Color? bgColor,
  4. Color? popUpColor,
  5. PopUpFn? popUpFn,
  6. BorderRadiusGeometry? border,
  7. BorderRadiusGeometry? bgBorder,
  8. BorderRadius? popUpBorderRadius,
  9. BubblePopUpConfig? popUpConfig,
})

bgColor can be used to set the background color of the bar.

popUpColor is the color of the triangle.

Note: Recommended to ONLY provide popUpConfig if want to change pop-up and base anchor alignments, else, DON'T set it.

In case both popUpBorderRadius and popUpConfig.childBorderRadius is provided, then the later will be used.

Implementation

const BarConfig({
  this.width,
  this.color,
  this.bgColor,
  this.popUpColor,
  this.popUpFn,
  this.border,
  this.bgBorder,
  this.popUpBorderRadius,
  this.popUpConfig,
});