BarConfig constructor
const
BarConfig({
- double? width,
- Color? color,
- Color? bgColor,
- Color? popUpColor,
- PopUpFn? popUpFn,
- BorderRadiusGeometry? border,
- BorderRadiusGeometry? bgBorder,
- BorderRadius? popUpBorderRadius,
- 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,
});