paint method

  1. @override
void paint(
  1. Context context
)
override

Draw itself and its children, according to the calculated box.offset

Implementation

@override
void paint(Context context) {
  super.paint(context);

  switch (direction) {
    case Axis.horizontal:
      _drawXValues(context);
      break;
    case Axis.vertical:
      _drawYValues(context);
      break;
  }
}