marginRight method

  1. @override
double marginRight(
  1. bool drawText,
  2. double width,
  3. double height,
  4. double fontHeight,
  5. double textPadding,
)
override

Margin after the last bar

Implementation

@override
double marginRight(
  bool drawText,
  double width,
  double height,
  double fontHeight,
  double textPadding,
) {
  if (!drawText || !drawSpacers) {
    return 0;
  }

  return fontHeight;
}