Ellipse constructor

Ellipse({
  1. double width = 2,
  2. double height = 1,
  3. Color color = WHITE,
})

Implementation

Ellipse({
  double width = 2,
  double height = 1,
  Color color = WHITE,
}) : super(color: color) {
  setWidth(width, stretch: true);
  setHeight(height, stretch: true);
}