FillLayer constructor

FillLayer(
  1. {required String id,
  2. Visibility? visibility,
  3. double? minZoom,
  4. double? maxZoom,
  5. String? slot,
  6. required String sourceId,
  7. String? sourceLayer,
  8. double? fillSortKey,
  9. bool? fillAntialias,
  10. int? fillColor,
  11. double? fillEmissiveStrength,
  12. double? fillOpacity,
  13. int? fillOutlineColor,
  14. String? fillPattern,
  15. List<double?>? fillTranslate,
  16. FillTranslateAnchor? fillTranslateAnchor}
)

Implementation

FillLayer({
  required String id,
  Visibility? visibility,
  double? minZoom,
  double? maxZoom,
  String? slot,
  required this.sourceId,
  this.sourceLayer,
  this.fillSortKey,
  this.fillAntialias,
  this.fillColor,
  this.fillEmissiveStrength,
  this.fillOpacity,
  this.fillOutlineColor,
  this.fillPattern,
  this.fillTranslate,
  this.fillTranslateAnchor,
}) : super(
          id: id,
          visibility: visibility,
          maxZoom: maxZoom,
          minZoom: minZoom,
          slot: slot);