Underline constructor

Underline({
  1. required Mobject mobject,
  2. double buff = SMALL_BUFFER,
  3. double? pathArc,
  4. Vector3 start = RIGHT,
  5. Vector3 end = LEFT,
  6. Color color = WHITE,
})

Implementation

Underline({
  required Mobject mobject,
  double buff = SMALL_BUFFER,
  double? pathArc,
  Vector3 start = RIGHT,
  Vector3 end = LEFT,
  Color color = WHITE,
}) : super(
        start: start,
        end: end,
        buff: buff,
        pathArc: pathArc,
        color: color,
      ) {
  matchWidth(mobject);
  nextToMobject(mobject, direction: DOWN, buffer: buff);
}