heightFactor property
heightFactor is the height of the bar based. It is percentage rate of widget height.
If it's set to 0.5, then it will be 50% height from the widget height.
heightFactor of bar must be between 0 to 1. Or There will be side effect.
Implementation
double heightFactor;