PolyWidget constructor

const PolyWidget({
  1. Key? key,
  2. required LatLng center,
  3. required int widthInMeters,
  4. required int heightInMeters,
  5. double angle = 0,
  6. Orientation? forceOrientation,
  7. bool? noRotation,
  8. BoxConstraints? constraints,
  9. required Widget? child,
})

Implementation

const PolyWidget({
  super.key,
  required this.center,
  required this.widthInMeters,
  required this.heightInMeters,
  this.angle = 0,
  this.forceOrientation,
  bool? noRotation,
  this.constraints,
  required this.child,
}) : noRotation = noRotation ?? false;